Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

EventInfos-Klasse

Contains a collection of EventInfo objects. The run-time engine exposes an EventInfos collection on all containers in the package hierarchy. The collection that a task receives is a reference to EventInfos collection on the TaskHost that is wrapping the task. Other containers' EventInfos collections contain aggregated contents of their children’s EventInfos collections. This class cannot be inherited.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
public sealed class EventInfos : DTSReadOnlyCollectionBase

Der EventInfos-Typ macht folgende Elemente verfügbar.

  NameBeschreibung
Öffentliche EigenschaftCountGets the number of elements contained in the DTSReadOnlyCollectionBase instance. (Geerbt von DTSReadOnlyCollectionBase.)
Öffentliche EigenschaftIsSynchronizedGets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (Geerbt von DTSReadOnlyCollectionBase.)
Öffentliche EigenschaftItemReturns the EventInfo object from the collection.
Öffentliche EigenschaftSyncRootGets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (Geerbt von DTSReadOnlyCollectionBase.)
Zum Anfang
  NameBeschreibung
Öffentliche MethodeAddAdds an EventInfo object to the current EventInfos collection.
Öffentliche MethodeContainsReturns a Boolean that indicates whether the items in the collection can be accessed using the name, description, ID, or index as the index.
Öffentliche MethodeCopyToCopies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (Geerbt von DTSReadOnlyCollectionBase.)
Geschützte MethodeCreateManagedObjectInfrastruktur (Geerbt von DTSReadOnlyCollectionBase.)
Öffentliche MethodeEquals (Geerbt von Object.)
Geschützte MethodeFinalize (Geerbt von Object.)
Geschützte MethodeGetCountInfrastruktur (Geerbt von DTSReadOnlyCollectionBase.)
Öffentliche MethodeGetEnumeratorReturns an enumerator for use in iterating over the EventInfos collection.
Öffentliche MethodeGetHashCode (Geerbt von Object.)
Geschützte MethodeGetManagedEnumeratorInfrastruktur (Geerbt von DTSReadOnlyCollectionBase.)
Öffentliche MethodeGetType (Geerbt von Object.)
Geschützte MethodeMemberwiseClone (Geerbt von Object.)
Öffentliche MethodeRemoveRemoves an EventInfo object from the EventInfos collection.
Öffentliche MethodeToString (Geerbt von Object.)
Zum Anfang
  NameBeschreibung
Geschütztes Feldm_unmanagedCollInfrastruktur (Geerbt von DTSReadOnlyCollectionBase.)
Zum Anfang

The EventInfos collection is used to hold custom events and events that you want the task to raise during execution. When creating a custom task, use this class to add your own custom events to the runtime.

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)

Community-Beiträge

HINZUFÜGEN
© 2013 Microsoft. Alle Rechte vorbehalten.