Condividi tramite


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

Definizione

Indica se il pacchetto specificato esiste nell'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

Pacchetto desiderato.

bstrServerName
String

Nome dell'istanza di SQL Server in cui cercare il pacchetto.

bstrServerUserName
String

Nome utente da autenticare nell'istanza di SQL Server.

bstrServerPassword
String

Password per l'account bstrServerUserName specificato.

Restituisce

true se il pacchetto esiste nell'istanza specificata di SQL Server. false se il pacchetto non esiste

Implementazioni

Attributi

Si applica a