ApplicationClass.GetPackageInfos2(String, Object) 方法

定义

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

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos2(System::String ^ bstrPackageFolder, System::Object ^ vConnectionObject) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetPackageInfos2;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos2(System::String ^ bstrPackageFolder, System::Object ^ vConnectionObject) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetPackageInfos2;
[System.Runtime.InteropServices.DispId(61)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100 GetPackageInfos2 (string bstrPackageFolder, object vConnectionObject);
[<System.Runtime.InteropServices.DispId(61)>]
abstract member GetPackageInfos2 : string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
override this.GetPackageInfos2 : string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
Public Overridable Function GetPackageInfos2 (bstrPackageFolder As String, vConnectionObject As Object) As IDTSPackageInfos100

参数

bstrPackageFolder
String

包含包的逻辑文件夹

vConnectionObject
Object

连接。

返回

一个 PackageInfos 集合。

实现

属性

适用于