Classe ObjectEvent

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

Hiérarchie d'héritage

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

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

Syntaxe

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

Le type ObjectEvent expose les membres suivants.

Propriétés

  Nom Description
Propriété publiqueMembre statique Alter Gets an object event that can be included in the event set.
Propriété publiqueMembre statique Drop Gets an object event that can be included in the event set.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique Add Returns the object event set that is created by adding two object events.
Méthode publiqueMembre statique BitwiseOr Creates a new object event set by performing a BitwiseOr operation on two ObjectEvent objects
Méthode publique Equals Returns a Boolean indicating if ObjectEvent equals a Object (remplace Object. . :: . .Equals(Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode This method supports the SMO 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 Overrides ToString method in a ObjectEvent object. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Creates a object event set by performing an addition operation on two ObjectEvent objects.
Opérateur publicMembre statique BitwiseOr Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects.
Opérateur publicMembre statique Equality Creates a object event set by performing an equality operation on two ObjectEvent objects.
Opérateur publicMembre statique Implicit Widening Implicit Implicit Implicit(ObjectEvent to ObjectEventSet) Creates a new [:Microsoft.SqlServer.Management.Smo.ObjectEventSet] by implicitly converting a ObjectEvent.
Opérateur publicMembre statique Inequality Creates an object event set by performing an inequality operation on two ObjectEvent objects.

Haut de la page

Notes

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

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.