共用方式為


ApplicationClass.GetPackageInfos2(String, Object) Method

Definition

Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.

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

Parameters

bstrPackageFolder
String

The logical folder that contains the packages

vConnectionObject
Object

The connection.

Returns

A PackageInfos collection.

Implements

Attributes

Applies to