Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
public: PackageInfos^ GetDtsServerPackageInfos ( String^ sPackageFolder, String^ sServerName )
public function GetDtsServerPackageInfos ( sPackageFolder : String, sServerName : String ) : PackageInfos
The folder under Stored Packages that contains the packages you want to enumerate. If you want package information from the msdb database in SQL Server, you can also use the GetPackageInfos method. The folders in which packages are stored within the SSIS Package Store can be created from the Stored Packages node in Management Studio, by the dtutil.exe command prompt utility, or by the CreateFolderOnDtsServer method.
The name of the SQL Server instance where the packages reside. For the local server, use the server name or "."; "(local)" and "localhost" are not acceptable.
Return ValueA PackageInfos collection that contains PackageInfo objects.
Updated text: 17 July 2006
This method connects to the SSIS Service to gather information about packages stored in the SSIS Package Store. It returns a PackageInfo object for each package stored in the specified logical folder. From the PackageInfo object, you can obtain the package's name, description, creation date, version, and additional information.
For more information, see Managing Packages and Folders Programmatically.