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

定义

通过使用服务器名称、用户名和密码获取一个 PackageInfos 集合,该集合包含在指定的逻辑文件夹内 SQL Server 实例中存储的包。

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

参数

bstrPackageFolder
String

包含包的逻辑文件夹。

bstrServerName
String

包所在的 SQL Server 实例的名称。

bstrServerUserName
String

用于登录到 SQL Server 实例的帐户名称。

bstrServerPassword
String

用户帐户的密码。

返回

一个 PackageInfos 集合。

实现

属性

适用于