ExternalLanguage.AddFile 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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)