ApplicationClass.ExistsOnDtsServer(String, String) 方法

定义

返回一个布尔值,该值指示 Integration Services 服务上是否已存在指定的包。

public:
 virtual bool ExistsOnDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::ExistsOnDtsServer;
public:
 virtual bool ExistsOnDtsServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::ExistsOnDtsServer;
[System.Runtime.InteropServices.DispId(50)]
public virtual bool ExistsOnDtsServer (string bstrPackagePath, string bstrServerName);
[<System.Runtime.InteropServices.DispId(50)>]
abstract member ExistsOnDtsServer : string * string -> bool
override this.ExistsOnDtsServer : string * string -> bool
Public Overridable Function ExistsOnDtsServer (bstrPackagePath As String, bstrServerName As String) As Boolean

参数

bstrPackagePath
String

包的完全限定路径。

bstrServerName
String

要搜索该包的服务器的名称。

返回

如果命名bstrServerName的服务器上存在指定的bstrPackagePath包,则为 true;否则为 false。

实现

属性

适用于