IDTSApplication100.FolderFromPath(String, String, String, String) 方法

定義

傳回布林值,指出指定的資料夾是否已存在於檔案系統上。

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

參數

bstrFolderName
String

您要尋找的資料夾。

bstrServerName
String

要搜尋資料夾的伺服器名稱。

bstrServerUserName
String

要針對 bstrServerName 執行個體驗證的使用者名稱。

bstrServerPassword
String

給定 bstrServerUserName 的密碼。

傳回

Guid

如果資料夾位於指定的實例上,則為 true bstrServerName ; 如果資料夾不存在,則為 false。

屬性

適用於