ApplicationClass.ExistsOnDtsServer(String, String) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个布尔值,该值指示 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 -> boolPublic Overridable Function ExistsOnDtsServer (bstrPackagePath As String, bstrServerName As String) As Boolean参数
- bstrPackagePath
- String
包的完全限定路径。
- bstrServerName
- String
要搜索该包的服务器的名称。
返回
如果命名bstrServerName的服务器上存在指定的bstrPackagePath包,则为 true;否则为 false。
实现
- 属性