Compartir a través de


Clase RunningPackages

Contains a collection of RunningPackage objects. This collection contains the list of packages that were running when the GetRunningPackages method was called, and is not updated when a new package starts or a listed package terminates. If you need a new snapshot, you should call GetRunningPackages again. This class cannot be inherited.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime.RunningPackages

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Class RunningPackages _
    Inherits DTSReadOnlyCollectionBase
'Uso
Dim instance As RunningPackages
public class RunningPackages : DTSReadOnlyCollectionBase
public ref class RunningPackages : public DTSReadOnlyCollectionBase
type RunningPackages =  
    class 
        inherit DTSReadOnlyCollectionBase 
    end
public class RunningPackages extends DTSReadOnlyCollectionBase

El tipo RunningPackages expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Se hereda de DTSReadOnlyCollectionBase.)
Propiedad pública IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Se hereda de DTSReadOnlyCollectionBase.)
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Se hereda de DTSReadOnlyCollectionBase.)

Arriba

Métodos

  Nombre Descripción
Método público CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Se hereda de DTSReadOnlyCollectionBase.)
Método protegido CreateManagedObject Infraestructura. Creates a managed object from RunningPackages. (Invalida DTSReadOnlyCollectionBase.CreateManagedObject(Object).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método protegido GetCount Infraestructura. Retrieves the number of running package. (Invalida DTSReadOnlyCollectionBase.GetCount().)
Método público GetEnumerator Returns an enumerator for use in iterating over the RunningPackages collection.
Método público GetHashCode (Se hereda de Object.)
Método protegido GetManagedEnumerator Infraestructura. Retrieves the managed enumerator from RunningPackages. (Invalida DTSReadOnlyCollectionBase.GetManagedEnumerator(Object).)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Campos

  Nombre Descripción
Campo protegido m_unmanagedColl Infraestructura. The unmanaged collection. (Se hereda de DTSReadOnlyCollectionBase.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime