Поделиться через


Класс 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.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Class RunningPackages _
    Inherits DTSReadOnlyCollectionBase
'Применение
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

Тип RunningPackages обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Производный от DTSReadOnlyCollectionBase.)
Открытое свойство IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Производный от DTSReadOnlyCollectionBase.)
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Производный от DTSReadOnlyCollectionBase.)

В начало

Методы

  Имя Описание
Открытый метод CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Производный от DTSReadOnlyCollectionBase.)
Защищенный метод CreateManagedObject Инфраструктура. Creates a managed object from RunningPackages. (Переопределяет DTSReadOnlyCollectionBase.CreateManagedObject(Object).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Защищенный метод GetCount Инфраструктура. Retrieves the number of running package. (Переопределяет DTSReadOnlyCollectionBase.GetCount().)
Открытый метод GetEnumerator Returns an enumerator for use in iterating over the RunningPackages collection.
Открытый метод GetHashCode (Производный от Object.)
Защищенный метод GetManagedEnumerator Инфраструктура. Retrieves the managed enumerator from RunningPackages. (Переопределяет DTSReadOnlyCollectionBase.GetManagedEnumerator(Object).)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Поля

  Имя Описание
Защищенное поле m_unmanagedColl Инфраструктура. The unmanaged collection. (Производный от DTSReadOnlyCollectionBase.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime