Compartir a través de


Clase ViewEvent

The ViewEvent object represents the SQL Server view events that can be included in a view event set.

Jerarquía de herencia

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

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

Sintaxis

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

El tipo ViewEvent expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad públicaMiembro estático AlterFulltextIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático AlterIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático AlterView Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático CreateFulltextIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático CreateIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático CreateSpatialIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático CreateStatistics Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático CreateXmlIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático DropFulltextIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático DropIndex Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático DropStatistics Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático DropView Gets a view event that can be included in the event set.
Propiedad públicaMiembro estático UpdateStatistics Gets a view event that can be included in the event set.

Arriba

Métodos

  Nombre Descripción
Método públicoMiembro estático Add Adds two view events to the event set.
Método públicoMiembro estático BitwiseOr Creates a view event set by combining two view events using a bitwise OR.
Método público Equals Determines whether the referenced view event object is equal to the specified object. (Invalida Object. . :: . .Equals(Object).)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode This method supports the SQL Server 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 Returns the referenced object in string format. (Invalida Object. . :: . .ToString() () () ().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates a view event set by performing an addition operation on two ViewEvent objects.
Operador públicoMiembro estático BitwiseOr Creates a view event set by performing a bitwise OR operation on two ViewEvent objects.
Operador públicoMiembro estático Equality Creates a view event set by performing an equality operation on two ViewEvent objects.
Operador públicoMiembro estático Implicit Widening Implicit Implicit Implicit(ViewEvent to ViewEventSet) Casts a single view event as a view event set.
Operador públicoMiembro estático Inequality Creates a view event set by performing an inequality operation on two ViewEvent objects.

Arriba

Comentarios

The ViewEvent object contains a property for each event to which the view can respond. The actual set of events is specified using the ViewEventSet 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.