Condividi tramite


IDTSApplication100.FolderExistsOnSQLServer Method

Definition

Returns a Boolean that indicates whether the specified folder already exists on the instance of SQL Server.

public:
 bool FolderExistsOnSQLServer(System::String ^ bstrFolderName, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(22)]
public bool FolderExistsOnSQLServer (string bstrFolderName, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(22)>]
abstract member FolderExistsOnSQLServer : string * string * string * string -> bool
Public Function FolderExistsOnSQLServer (bstrFolderName As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As Boolean

Parameters

bstrFolderName
String

The folder you are looking for.

bstrServerName
String

The name of the instance of SQL Server to search for the folder.

bstrServerUserName
String

The user name to authenticate against the instance of SQL Server.

bstrServerPassword
String

The password for the given bstrServerUserName.

Returns

true if the folder exists on the specified instance of SQL Server; false if the folder does not exist.

Attributes

Applies to