Share via


ApplicationClass.ExistsOnSQLServer(String, String, String, String) Méthode

Définition

Indique si le package spécifié existe déjà sur l'instance de SQL Server.

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

Paramètres

bstrPackagePath
String

Package recherché.

bstrServerName
String

Nom de l'instance de SQL Server dans laquelle rechercher le package.

bstrServerUserName
String

Nom d'utilisateur à utiliser lors de l'authentification sur l'instance de SQL Server.

bstrServerPassword
String

Mot de passe du bstrServerUserName spécifié.

Retours

true si le package existe sur l’instance spécifiée de SQL Server. false si le package n’existe pas

Implémente

Attributs

S’applique à