Share via


IDTSApplication100.GetPackageInfos(String, String, String, String) 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 ^ GetPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(6)]
public 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
Public Function GetPackageInfos (bstrPackageFolder As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As IDTSPackageInfos100

Parameters

bstrPackageFolder
String

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

bstrServerName
String

The name of the SQL Server instance where the packages reside.

bstrServerUserName
String

The account name used to log on to the instance of SQL Server, if you need to log in to SQL Server using standard authentication. If you are using Windows Authentication, use null.

bstrServerPassword
String

The password of the user account, if you need to log in to SQL Server using standard authentication. If you are using Windows Authentication, use null.

Returns

A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.

Attributes

Applies to