共用方式為


RunningPackages Class

Definition

Contains a collection of RunningPackage objects. This collection contains the list of packages that were running when the GetRunningPackages(String) 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(String) again. This class cannot be inherited.

public ref class RunningPackages : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public class RunningPackages : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type RunningPackages = class
    inherit DTSReadOnlyCollectionBase
Public Class RunningPackages
Inherits DTSReadOnlyCollectionBase
Inheritance

Fields

m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Properties

Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
IsSynchronized

Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).

(Inherited from DTSReadOnlyCollectionBase)
SyncRoot

Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.

(Inherited from DTSReadOnlyCollectionBase)

Methods

CopyTo(Array, Int32)

Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from DTSReadOnlyCollectionBase)
CreateManagedObject(Object)

Creates a managed object from RunningPackages.

GetCount()

Retrieves the number of running package.

GetEnumerator()

Returns an enumerator for use in iterating over the RunningPackages collection.

GetManagedEnumerator(Object)

Retrieves the managed enumerator from RunningPackages.

Applies to