IDTSApplication100.GetDtsServerPackageInfos 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets a IDTSPackageInfos100 collection that contains the packages stored in the SSIS Package Store on an instance of SQL Server, within the specified folder.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Function GetDtsServerPackageInfos ( _
bstrPackageFolder As String, _
bstrServerName As String _
) As IDTSPackageInfos100
用法
Dim instance As IDTSApplication100
Dim bstrPackageFolder As String
Dim bstrServerName As String
Dim returnValue As IDTSPackageInfos100
returnValue = instance.GetDtsServerPackageInfos(bstrPackageFolder, _
bstrServerName)
IDTSPackageInfos100 GetDtsServerPackageInfos(
string bstrPackageFolder,
string bstrServerName
)
IDTSPackageInfos100^ GetDtsServerPackageInfos(
[InAttribute] String^ bstrPackageFolder,
[InAttribute] String^ bstrServerName
)
abstract GetDtsServerPackageInfos :
bstrPackageFolder:string *
bstrServerName:string -> IDTSPackageInfos100
function GetDtsServerPackageInfos(
bstrPackageFolder : String,
bstrServerName : String
) : IDTSPackageInfos100
参数
- bstrPackageFolder
类型:System.String
The folder under Stored Packages that contains the packages you want to enumerate.
- bstrServerName
类型:System.String
The name of the SQL Server instance where the packages reside.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.