Linguaggio

IDTSApplication100.ExistsOnSQLServer(String, String, String, String) Metodo

Definizione

Restituisce un booleano che indica se il pacchetto specificato esiste sull'istanza di SQL Server.

public:
 bool ExistsOnSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(15)]
public bool ExistsOnSQLServer(string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member ExistsOnSQLServer : string * string * string * string -> bool
Public 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. falso se il pacchetto non esiste.

Attributi

Si applica a