语言

ApplicationClass.FolderExistsOnDtsServer(String, String) 方法

定义

表示指定的文件夹是否已经存在于文件系统中。

public:
 virtual bool FolderExistsOnDtsServer(System::String ^ bstrFolderName, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::FolderExistsOnDtsServer;
public:
 virtual bool FolderExistsOnDtsServer(System::String ^ bstrFolderName, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::FolderExistsOnDtsServer;
[System.Runtime.InteropServices.DispId(46)]
public virtual bool FolderExistsOnDtsServer(string bstrFolderName, string bstrServerName);
[<System.Runtime.InteropServices.DispId(46)>]
abstract member FolderExistsOnDtsServer : string * string -> bool
override this.FolderExistsOnDtsServer : string * string -> bool
Public Overridable Function FolderExistsOnDtsServer (bstrFolderName As String, bstrServerName As String) As Boolean

参数

bstrFolderName
String

文件夹的名称。

bstrServerName
String

用服务器名称来搜索包裹。

返回

如果指定的文件夹存在于服务器上,则为真;如果文件夹不存在,则为 false。

实现

属性

适用于