ObjectEvent-Klasse
The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Smo.ObjectEvent
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ObjectEvent
'Usage
Dim instance As ObjectEvent
public sealed class ObjectEvent
public ref class ObjectEvent sealed
[<SealedAttribute>]
type ObjectEvent = class end
public final class ObjectEvent
Der ObjectEvent-Typ macht folgende Elemente verfügbar.
Eigenschaften
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
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. (Überschreibt Object.Equals(Object).) | |
GetHashCode | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Überschreibt Object.GetHashCode().) | |
GetType | (Geerbt von Object.) | |
ToString | Overrides ToString method in a ObjectEvent object. (Überschreibt Object.ToString().) |
Zum Anfang
Operatoren
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Hinweise
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
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Beispiele
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.