共用方式為


IDTSApplication100.GetDtsServerPackageInfos(String, String) Method

Definition

Gets a IDTSPackageInfos100 collection that contains the packages stored in the SSIS Package Store on an instance of SQL Server, within the specified folder.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetDtsServerPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName);
[System.Runtime.InteropServices.DispId(51)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100 GetDtsServerPackageInfos (string bstrPackageFolder, string bstrServerName);
[<System.Runtime.InteropServices.DispId(51)>]
abstract member GetDtsServerPackageInfos : string * string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
Public Function GetDtsServerPackageInfos (bstrPackageFolder As String, bstrServerName As String) As IDTSPackageInfos100

Parameters

bstrPackageFolder
String

The folder under Stored Packages that contains the packages you want to enumerate.

bstrServerName
String

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

Returns

A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.

Attributes

Applies to