IDTSApplication100.ExistsOnSQLServer(String, String, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回布林值,指出指定的封裝是否存在於 SQL Server 的實例上。
public:
bool ExistsOnSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(15)]
public bool ExistsOnSQLServer (string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member ExistsOnSQLServer : string * string * string * string -> bool
Public Function ExistsOnSQLServer (bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As Boolean
參數
- bstrPackagePath
- String
您要尋找的封裝。
- bstrServerName
- String
要搜尋封裝的 SQL Server 執行個體名稱。
- bstrServerUserName
- String
要針對 SQL Server 執行個體驗證的使用者名稱。
- bstrServerPassword
- String
指定之 bstrServerUserName 的密碼。
傳回
如果封裝存在於指定的 SQL Server 實例上,則為 true。 如果封裝不存在,則為 false。
- 屬性