Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Application.GetPackageInfos2 Method (String, Object)

 

Applies To: SQL Server 2016 Preview

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public PackageInfos GetPackageInfos2(
	string strFolder,
	object connectionObject
)

Parameters

strFolder
Type: System.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 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 method.

connectionObject
Type: System.Object

The connection object.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.PackageInfos

The collection that contains the packages.

Return to top
Show:
© 2015 Microsoft