Compartilhar via


Método IDTSApplication100.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 IDTSRunningPackages100 collection that contains IDTSRunningPackage100 objects. This property is read-only.

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

Sintaxe

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

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 IDTSRunningPackages100 collection that contains the IDTSRunningPackage100 objects that represent all the packages that are currently executing on the computer.

Consulte também

Referência

IDTSApplication100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper