Compartir a través de


Clase EventPropertyCollection

The EventPropertyCollection object represents the properties of event objects.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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

El tipo EventPropertyCollection expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of EventProperty objects in the EventPropertyCollection object.
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets the EventProperty object at the specified index position.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets the EventProperty object that has the specified name.

Arriba

Métodos

  Nombre Descripción
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 (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetEnumerator Gets an enumerator that can iterate through the list of objects.
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Object.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ICollection. . :: . .CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Implementación de interfaces explícitasMétodo privado IEnumerable. . :: . .GetEnumerator Returns an IEnumerator interface that permits iteration through a collection.
Implementación de interfaces explícitasPropiedad privada ICollection. . :: . .IsSynchronized Indicates if the Event Property Collection is synchronized (locked) for read and update.
Implementación de interfaces explícitasPropiedad privada ICollection. . :: . .SyncRoot Returns an object that can be used to synchronize access to the ICollection.

Arriba

Comentarios

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ejemplos

Usar colecciones

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.