Compartilhar via


Método ApplicationClass.GetRunningPackages

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Returns a RunningPackages collection that contains RunningPackage objects.

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

Sintaxe

'Declaração
Public Overridable Function GetRunningPackages ( _
    bstrMachineName As String _
) As IDTSRunningPackages100
'Uso
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

Parâmetros

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

Valor de retorno

Tipo: 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.

Implementa

IDTSApplication100.GetRunningPackages(String)

Consulte também

Referência

ApplicationClass Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper