语言

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

定义

返回指定路径中的文件夹。

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

参数

bstrFolderName
String

文件夹的名称。

bstrServerName
String

用来搜索包的 SQL Server 实例名称。

bstrServerUserName
String

用户名用于对SQL Server实例进行认证。

bstrServerPassword
String

给定 bstrServerUserName的密码。

返回

来自指定路径的文件夹。

实现

属性

适用于