Freigeben über


ApplicationClass.ExistsOnDtsServer(String, String) Methode

Definition

Gibt einen booleschen Wert zurück, der angibt, ob das angegebene Paket bereits im Integration Services-Dienst vorhanden ist.

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

Parameter

bstrPackagePath
String

Der vollqualifizierte Pfad des Pakets.

bstrServerName
String

Der Name des Servers, der nach dem Paket durchsucht werden soll.

Gibt zurück

true, wenn das von bstrPackagePath dem Server angegebene Paket mit bstrServerNamedem Namen ; andernfalls "false" vorhanden ist.

Implementiert

Attribute

Gilt für: