Classe EventPropertyCollection

The EventPropertyCollection object represents the properties of event objects.

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public NotInheritable Class EventPropertyCollection _
    Implements ICollection, IEnumerable(Of EventProperty),  _
    IEnumerable
'Uso
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

O tipo EventPropertyCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of EventProperty objects in the EventPropertyCollection object.
Propriedade pública Item[ ( [ ( Int32] ) ] ) Gets the EventProperty object at the specified index position.
Propriedade pública Item[ ( [ ( String] ) ] ) Gets the EventProperty object that has the specified name.

Início

Métodos

  Nome Descrição
Método público CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetEnumerator Gets an enumerator that can iterate through the list of objects.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado ICollection. . :: . .CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Implementações de interfaces explícitasMétodo privado IEnumerable. . :: . .GetEnumerator Returns an IEnumerator interface that permits iteration through a collection.
Implementações de interfaces explícitasPropriedade privada ICollection. . :: . .IsSynchronized Indicates if the Event Property Collection is synchronized (locked) for read and update.
Implementações de interfaces explícitasPropriedade privada ICollection. . :: . .SyncRoot Returns an object that can be used to synchronize access to the ICollection.

Início

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência