Application.GetPackageInfos2(String, Object) Application.GetPackageInfos2(String, Object) Application.GetPackageInfos2(String, Object) Method


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.

 Microsoft::SqlServer::Dts::Runtime::PackageInfos ^ GetPackageInfos2(System::String ^ strFolder, System::Object ^ connectionObject);
public Microsoft.SqlServer.Dts.Runtime.PackageInfos GetPackageInfos2 (string strFolder, object connectionObject);
Public Function GetPackageInfos2 (strFolder As String, connectionObject As Object) As PackageInfos


String String String

The logical folder that contains the packages you want to enumerate. If you want package information from the File System folder in the SSIS Package Store, use the GetDtsServerPackageInfos(String, String) method. The logical folders in which packages are stored within MSDB can be created from the Stored Packages\MSDB node in Management Studio, by the dtutil.exe command prompt utility, or by the CreateFolderOnSqlServer(String, String, String, String, String) method.

Object Object Object

The connection object.


The collection that contains the packages.

Applies to