Linguaggio

ApplicationClass.ExistsOnSQLServer(String, String, String, String) Metodo

Definizione

Indica se il pacchetto specificato esiste sull'istanza di 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

Parametri

bstrPackagePath
String

Il pacchetto che stai cercando.

bstrServerName
String

Il nome dell'istanza di SQL Server per cercare il pacchetto.

bstrServerUserName
String

Il nome utente da autenticare contro l'istanza di SQL Server.

bstrServerPassword
String

La password per il file specificato bstrServerUserName.

Valori restituiti

vero se il pacchetto esiste sull'istanza specificata di SQL Server. false se il pacchetto non esiste

Implementazioni

Attributi

Si applica a