共用方式為


ApplicationClass.FolderFromPath(String, String, String, String) Method

Definition

Returns a folder from a specified path.

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

Parameters

bstrFolderName
String

The name of the folder.

bstrServerName
String

The name of the instance of SQL Server to search for the package.

bstrServerUserName
String

The user name to authenticate against the instance of SQL Server.

bstrServerPassword
String

The password for the given bstrServerUserName.

Returns

A folder from a specified path.

Implements

Attributes

Applies to