ApplicationClass.GetDtsServerPackageInfos(String, String) 方法

定义

获取一个 PackageInfos 集合,该集合包含在指定的文件夹内存储在 SQL Server 实例上 SSIS 包存储区中的包。

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetDtsServerPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetDtsServerPackageInfos;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetDtsServerPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetDtsServerPackageInfos;
[System.Runtime.InteropServices.DispId(51)]
public virtual 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
override this.GetDtsServerPackageInfos : string * string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
Public Overridable Function GetDtsServerPackageInfos (bstrPackageFolder As String, bstrServerName As String) As IDTSPackageInfos100

参数

bstrPackageFolder
String

“已存储的包”下包含包的文件夹。

bstrServerName
String

包所在的 SQL Server 实例的名称。

返回

包含 PackageInfo 对象的 PackageInfos 集合。

实现

属性

适用于