Freigeben über


ApplicationClass.GetRunningPackages-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Returns a RunningPackages collection that contains RunningPackage objects.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function GetRunningPackages ( _
    bstrMachineName As String _
) As IDTSRunningPackages100
'Usage
Dim instance As ApplicationClass 
Dim bstrMachineName As String 
Dim returnValue As IDTSRunningPackages100 

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

Parameter

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

Rückgabewert

Typ: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRunningPackages100
A RunningPackages collection that contains the RunningPackage objects that represent all the packages that are currently executing on the computer.

Implementiert

IDTSApplication100.GetRunningPackages(String)

Siehe auch

Verweis

ApplicationClass Klasse

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace