다음을 통해 공유


IDTSApplication100.GetPackageInfos2(String, Object) Method

Definition

Gets a IDTSPackageInfos100 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:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos2(System::String ^ bstrPackageFolder, System::Object ^ vConnectionObject);
[System.Runtime.InteropServices.DispId(61)]
public 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
Public Function GetPackageInfos2 (bstrPackageFolder As String, vConnectionObject As Object) As IDTSPackageInfos100

Parameters

bstrPackageFolder
String

The logical folder that contains the packages you want to enumerate.

vConnectionObject
Object

The connection object.

Returns

A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.

Attributes

Applies to