Share via


ApplicationClass.FolderExistsOnSQLServer Method

Definition

Indicates whether the specified folder already exists on the instance of 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

Parameters

bstrFolderName
String

The name of the folder.

bstrServerName
String

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

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.

Implements

Attributes

Applies to