Share via


ApplicationClass.ExistsOnDtsServer(String, String) Méthode

Définition

Retourne une valeur booléenne qui indique si le package spécifié existe déjà sur le service 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

Paramètres

bstrPackagePath
String

Chemin d'accès complet du package.

bstrServerName
String

Nom du serveur sur lequel rechercher le package.

Retours

true si le package spécifié par bstrPackagePath existe sur le serveur nommé par bstrServerName; sinon, false.

Implémente

Attributs

S’applique à