语言

IDTSApplication100.ExistsOnSQLServer(String, String, String, String) 方法

定义

返回一个布尔值,表示指定的包是否存在于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。 如果该包不存在,则为假。

属性

适用于