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 | |
---|---|---|
Alter | Gets an object event that can be included in the event set. | |
Drop | Gets an object event that can be included in the event set. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Add | Returns the object event set that is created by adding two object events. | |
BitwiseOr | Creates a new object event set by performing a BitwiseOr operation on two ObjectEvent objects | |
Equals | Returns a value whether the ObjectEvent is equal to the specified object. (remplace Object.Equals(Object).) | |
GetHashCode | This method supports the SMO infrastructure and is not intended to be used directly from your code. (remplace Object.GetHashCode().) | |
GetType | (hérité de Object.) | |
ToString | Overrides ToString method in a ObjectEvent object. (remplace Object.ToString().) |
Haut de la page
Opérateurs
Nom | Description | |
---|---|---|
Addition | Creates a object event set by performing an addition operation on two ObjectEvent objects. | |
BitwiseOr | Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects. | |
Equality | Creates a object event set by performing an equality operation on two ObjectEvent objects. | |
Implicit(ObjectEvent to ObjectEventSet) | :Microsoft.SqlServer.Management.Smo.ObjectEventSetCreates a new object event set by implicitly converting a ObjectEvent. | |
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.
Exemples
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.