Classe ViewEvent

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

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
Public NotInheritable Class ViewEvent
'Utilisation
Dim instance As ViewEvent
public sealed class ViewEvent
public ref class ViewEvent sealed
[<SealedAttribute>]
type ViewEvent =  class end
public final class ViewEvent

Le type ViewEvent expose les membres suivants.

Propriétés

  Nom Description
Propriété publiqueMembre statique AlterFulltextIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique AlterIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique AlterView Gets a view event that can be included in the event set.
Propriété publiqueMembre statique CreateFulltextIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique CreateIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique CreateSpatialIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique CreateStatistics Gets a view event that can be included in the event set.
Propriété publiqueMembre statique CreateXmlIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique DropFulltextIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique DropIndex Gets a view event that can be included in the event set.
Propriété publiqueMembre statique DropStatistics Gets a view event that can be included in the event set.
Propriété publiqueMembre statique DropView Gets a view event that can be included in the event set.
Propriété publiqueMembre statique UpdateStatistics Gets a view event that can be included in the event set.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique Add Adds two view events to the event set.
Méthode publiqueMembre statique BitwiseOr Creates a view event set by combining two view events using a bitwise OR.
Méthode publique Equals Determines whether the referenced view event object is equal to the specified object. (remplace Object. . :: . .Equals(Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (remplace Object. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the referenced object in string format. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Creates a view event set by performing an addition operation on two ViewEvent objects.
Opérateur publicMembre statique BitwiseOr Creates a view event set by performing a bitwise OR operation on two ViewEvent objects.
Opérateur publicMembre statique Equality Creates a view event set by performing an equality operation on two ViewEvent objects.
Opérateur publicMembre statique Implicit Widening Implicit Implicit Implicit(ViewEvent to ViewEventSet) Casts a single view event as a view event set.
Opérateur publicMembre statique Inequality Creates a view event set by performing an inequality operation on two ViewEvent objects.

Haut de la page

Notes

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

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.