IDTSApplication100.GetRunningPackages 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Returns a IDTSRunningPackages100 collection that contains IDTSRunningPackage100 objects. This property is read-only.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Function GetRunningPackages ( _
    bstrMachineName As String _
) As IDTSRunningPackages100
用法
Dim instance As IDTSApplication100 
Dim bstrMachineName As String 
Dim returnValue As IDTSRunningPackages100 

returnValue = instance.GetRunningPackages(bstrMachineName)
IDTSRunningPackages100 GetRunningPackages(
    string bstrMachineName
)
IDTSRunningPackages100^ GetRunningPackages(
    [InAttribute] String^ bstrMachineName
)
abstract GetRunningPackages : 
        bstrMachineName:string -> IDTSRunningPackages100
function GetRunningPackages(
    bstrMachineName : String
) : IDTSRunningPackages100

参数

  • bstrMachineName
    类型:System.String
    The instance of SQL Server that the application is running on.

返回值

类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRunningPackages100
A IDTSRunningPackages100 collection that contains the IDTSRunningPackage100 objects that represent all the packages that are currently executing on the computer.

请参阅

参考

IDTSApplication100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间