ObjectEventSet-Klasse
The ObjectEventSet object represents a SQL Server set of object events.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Smo.EventSetBase
Microsoft.SqlServer.Management.Smo.ObjectEventSet
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ObjectEventSet _
Inherits EventSetBase
'Usage
Dim instance As ObjectEventSet
public sealed class ObjectEventSet : EventSetBase
public ref class ObjectEventSet sealed : public EventSetBase
[<SealedAttribute>]
type ObjectEventSet =
class
inherit EventSetBase
end
public final class ObjectEventSet extends EventSetBase
Der ObjectEventSet-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
ObjectEventSet() | Initializes a new instance of the ObjectEventSet class. | |
ObjectEventSet(ObjectEvent) | Initializes a new instance of the ObjectEventSet class with the specified set of event. | |
ObjectEventSet(array<ObjectEvent[]) | Initializes a new instance of the ObjectEventSet class with the specified set of events. | |
ObjectEventSet(ObjectEventSet) | Initializes a new instance of the ObjectEventSet class with a specified set of events. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Alter | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when the properties of an object are modified. | |
Drop | Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when an object is dropped. | |
NumberOfElements | Gets the number of events in the event set. (Überschreibt EventSetBase.NumberOfElements.) | |
Storage | Gets or sets the bit array for event set storage. (Geerbt von EventSetBase.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Add(ObjectEvent) | Adds an ObjectEvent object to the ObjectEventSet object. | |
Add(ObjectEventSet, ObjectEvent) | Adds an ObjectEvent object to a ObjectEventSet. | |
Copy | Returns a copy of the ObjectEventSet object. (Überschreibt EventSetBase.Copy().) | |
Equals | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
Remove | Removes an event from the event set. | |
Subtract | Subtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.] | |
ToString | Returns a string that represents the ObjectEventSet object. (Überschreibt Object.ToString().) |
Zum Anfang
Operatoren
Name | Beschreibung | |
---|---|---|
Addition | Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object. | |
Subtraction | Creates an object event set by performing a subtraction operation on an ObjectEvent object and an ObjectEventSet object. |
Zum Anfang
Hinweise
The events in the object event set are generated by various SMO objects that represent the SQL Server objects.
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.