Share via


ApplicationClass.FolderExistsOnSQLServer Méthode

Définition

Indique si le dossier spécifié existe déjà sur l'instance 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

Paramètres

bstrFolderName
String

Nom du dossier.

bstrServerName
String

Nom de l'instance de SQL Server dans laquelle rechercher le package.

bstrServerUserName
String

Nom d'utilisateur à utiliser lors de l'authentification sur l'instance de SQL Server.

bstrServerPassword
String

Mot de passe du bstrServerUserName donné.

Retours

true si le dossier existe sur l’instance spécifiée de SQL Server; false si le dossier n’existe pas.

Implémente

Attributs

S’applique à