Classe EventPropertyCollection

The EventPropertyCollection object represents the properties of event objects.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..EventPropertyCollection

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class EventPropertyCollection _
    Implements ICollection, IEnumerable(Of EventProperty),  _
    IEnumerable
'Utilisation
Dim instance As EventPropertyCollection
public sealed class EventPropertyCollection : ICollection, 
    IEnumerable<EventProperty>, IEnumerable
public ref class EventPropertyCollection sealed : ICollection, 
    IEnumerable<EventProperty^>, IEnumerable
[<SealedAttribute>]
type EventPropertyCollection =  
    class
        interface ICollection
        interface IEnumerable<EventProperty>
        interface IEnumerable
    end
public final class EventPropertyCollection implements ICollection, IEnumerable<EventProperty>, IEnumerable

Le type EventPropertyCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of EventProperty objects in the EventPropertyCollection object.
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets the EventProperty object at the specified index position.
Propriété publique Item[ ( [ ( String] ) ] ) Gets the EventProperty object that has the specified name.

Haut de la page

Méthodes

  Nom Description
Méthode publique CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Gets an enumerator that can iterate through the list of objects.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICollection. . :: . .CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Implémentation d'interface expliciteMéthode privée IEnumerable. . :: . .GetEnumerator Returns an IEnumerator interface that permits iteration through a collection.
Implémentation d'interface explicitePropriété privée ICollection. . :: . .IsSynchronized Indicates if the Event Property Collection is synchronized (locked) for read and update.
Implémentation d'interface explicitePropriété privée ICollection. . :: . .SyncRoot Returns an object that can be used to synchronize access to the ICollection.

Haut de la page

Notes

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.