Share via


IDTSApplication100.FolderExistsOnDtsServer(String, String) Method

Definition

Returns a Boolean that indicates whether the specified folder already exists on the file system.

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

Parameters

bstrFolderName
String

The name of the folder you are looking for. For example, to see if a folder name myFolder exists under the File System folder, use the escaped string, @"\File System\myFolder".

bstrServerName
String

The name of the server to search for the folder.

Returns

true if the folder specified exists on the server; false if the folder does not exist.

Attributes

Applies to