IDTSApplication100.FolderExistsOnDtsServer(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回布林值,指出指定的資料夾是否已存在於檔案系統上。
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
參數
- bstrFolderName
- String
您要尋找的資料夾名稱。 例如,若要查看資料夾名稱是否 myFolder 存在於檔系統資料夾底下,請使用已轉義的字串 @"\File System\myFolder" 。
- bstrServerName
- String
要搜尋資料夾的伺服器名稱。
傳回
如果指定的資料夾存在於伺服器上,則為 true;如果資料夾不存在,則為 false。
- 屬性