共用方式為


IDTSApplication100.FolderFromPath(String, String, String, String) Method

Definition

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

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

Parameters

bstrFolderName
String

The folder you are looking for.

bstrServerName
String

The name of the server to search for the folder.

bstrServerUserName
String

The user name to authenticate against the instance of bstrServerName.

bstrServerPassword
String

The password for the given bstrServerUserName.

Returns

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

Attributes

Applies to