ApplicationClass.ExistsOnDtsServer(String, String) Method

Definition

Returns a Boolean that indicates whether the specified package already exists on the Integration Services service.

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

Parameters

bstrPackagePath
String

The fully qualified path of the package.

bstrServerName
String

The name of the server to search for the package.

Returns

true if the package specified by bstrPackagePath exists on the server named by bstrServerName; otherwise, false.

Implements

Attributes

Applies to