Condividi tramite


ApplicationClass.FolderExistsOnSQLServer Metodo

Definizione

Indica se la cartella specificata esiste già nell'istanza di SQL Server.

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

Parametri

bstrFolderName
String

Nome della cartella.

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 la cartella esiste nell'istanza specificata di SQL Server; false se la cartella non esiste.

Implementazioni

Attributi

Si applica a