Compartir a través de


ApplicationClass.FolderExistsOnSQLServer Método

Definición

Indica si la carpeta especificada ya existe en la instancia de 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

Parámetros

bstrFolderName
String

Nombre de la carpeta.

bstrServerName
String

Nombre de la instancia de SQL Server en la que se busca el paquete.

bstrServerUserName
String

Nombre de usuario para autenticarse con la instancia de SQL Server.

bstrServerPassword
String

La contraseña de la cuenta bstrServerUserName dada.

Devoluciones

true si la carpeta existe en la instancia especificada de SQL Server; false si la carpeta no existe.

Implementaciones

Atributos

Se aplica a