語言

ExternalLanguage.AddFile 方法

定義

多載

名稱 Description
AddFile(String, Byte[], ExternalLanguageFilePlatform)

透過語言內容位元新增檔案規格到外部語言。

AddFile(String, String, ExternalLanguageFilePlatform)

透過語言檔案路徑新增一個檔案規格到外部語言。

AddFile(String, Byte[], ExternalLanguageFilePlatform)

透過語言內容位元新增檔案規格到外部語言。

public void AddFile(string fileName, byte[] contentFromBinary, Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform platform = Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform.Default);
member this.AddFile : string * byte[] * Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform -> unit
Public Sub AddFile (fileName As String, contentFromBinary As Byte(), Optional platform As ExternalLanguageFilePlatform = Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform.Default)

參數

fileName
String

外部語言的 .dll 或 .so 檔案

contentFromBinary
Byte[]

語言內容作為二進位

platform
ExternalLanguageFilePlatform

在混合作業系統平台(例如 Linux/Windows)

適用於

AddFile(String, String, ExternalLanguageFilePlatform)

透過語言檔案路徑新增一個檔案規格到外部語言。

public void AddFile(string fileName, string contentFromFile, Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform platform = Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform.Default);
member this.AddFile : string * string * Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform -> unit
Public Sub AddFile (fileName As String, contentFromFile As String, Optional platform As ExternalLanguageFilePlatform = Microsoft.SqlServer.Management.Smo.ExternalLanguageFilePlatform.Default)

參數

fileName
String

外部語言的 .dll 或 .so 檔案

contentFromFile
String

語言內容作為檔案路徑

platform
ExternalLanguageFilePlatform

在混合作業系統平台(例如 Linux/Windows)

適用於