共用方式為


DtsEventHandlers Class

Definition

Represents a collection of DtsEventHandler objects. This class cannot be inherited.

public ref class DtsEventHandlers sealed : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public sealed class DtsEventHandlers : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type DtsEventHandlers = class
    inherit DTSReadOnlyCollectionBase
Public NotInheritable Class DtsEventHandlers
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)
Item[Object]

Gets a DtsEventHandler object from the collection.

SyncRoot

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

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add(String)

Adds a new event to the DtsEventHandlers collection.

Contains(Object)

Indicates whether the items in the collection can be accessed by using the name, index, or ID as the index.

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 managed object from an unmanaged object.

(Inherited from DTSReadOnlyCollectionBase)
GetCount()

Retrieves the number of objects in the collection.

(Inherited from DTSReadOnlyCollectionBase)
GetEnumerator()

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

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
Join(DtsEventHandler)

Joins a new event handler to the collection.

Remove(Object)

Removes a DtsEventHandler object from the collection.

Applies to