Compartir a través de


Clase ObjectEvent

The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.

Jerarquía de herencia

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

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

Sintaxis

'Declaración
Public NotInheritable Class ObjectEvent
'Uso
Dim instance As ObjectEvent
public sealed class ObjectEvent
public ref class ObjectEvent sealed
[<SealedAttribute>]
type ObjectEvent =  class end
public final class ObjectEvent

El tipo ObjectEvent expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad públicaMiembro estático Alter Gets an object event that can be included in the event set.
Propiedad públicaMiembro estático Drop Gets an object event that can be included in the event set.

Arriba

Métodos

  Nombre Descripción
Método públicoMiembro estático Add Returns the object event set that is created by adding two object events.
Método públicoMiembro estático BitwiseOr Creates a new object event set by performing a BitwiseOr operation on two ObjectEvent objects
Método público Equals Returns a Boolean indicating if ObjectEvent equals a Object (Invalida Object. . :: . .Equals(Object).)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode This method supports the SMO infrastructure and is not intended to be used directly from your code. (Invalida Object. . :: . .GetHashCode() () () ().)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString Overrides ToString method in a ObjectEvent object. (Invalida Object. . :: . .ToString() () () ().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates a object event set by performing an addition operation on two ObjectEvent objects.
Operador públicoMiembro estático BitwiseOr Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects.
Operador públicoMiembro estático Equality Creates a object event set by performing an equality operation on two ObjectEvent objects.
Operador públicoMiembro estático Implicit Widening Implicit Implicit Implicit(ObjectEvent to ObjectEventSet) Creates a new [:Microsoft.SqlServer.Management.Smo.ObjectEventSet] by implicitly converting a ObjectEvent.
Operador públicoMiembro estático Inequality Creates an object event set by performing an inequality operation on two ObjectEvent objects.

Arriba

Comentarios

The ObjectEvent object contains a property for each event to which the object can respond. The actual set of events is specified using the ObjectEventSet object.

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.

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.