Export (0) Print
Expand All

ObjectEventSet Class

The ObjectEventSet object represents a SQL Server set of object events.

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)

public sealed class ObjectEventSet : EventSetBase

The ObjectEventSet type exposes the following members.

  NameDescription
Public methodObjectEventSet()Initializes a new instance of the ObjectEventSet class.
Public methodObjectEventSet(ObjectEvent)Initializes a new instance of the ObjectEventSet class with the specified set of event.
Public methodObjectEventSet(ObjectEvent[])Initializes a new instance of the ObjectEventSet class with the specified set of events.
Public methodObjectEventSet(ObjectEventSet)Initializes a new instance of the ObjectEventSet class with a specified set of events.
Top

  NameDescription
Public propertyAlterGets 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.
Public propertyDropGets 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.
Public propertyNumberOfElementsGets the number of events in the event set. (Overrides EventSetBase.NumberOfElements.)
Protected propertyStorageGets or sets the bit array for event set storage. (Inherited from EventSetBase.)
Top

  NameDescription
Public methodAdd(ObjectEvent)Adds an ObjectEvent object to the ObjectEventSet object.
Public methodStatic memberAdd(ObjectEventSet, ObjectEvent)Adds a ObjectEvent object to a ObjectEventSet.
Public methodCopyReturns a copy of the ObjectEventSet object. (Overrides EventSetBase.Copy().)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFitsMaskSpecifies whether the EventSetBase object fits the specified mask. (Inherited from EventSetBase.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodHasCommonBitsSpecifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Inherited from EventSetBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRemoves an event from the event set.
Protected methodSetValueSets the bit value at the specified index position. (Inherited from EventSetBase.)
Public methodStatic memberSubtractSubtracts a ObjectEvent from a [T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.]
Public methodToStringReturns a string that represents the ObjectEventSet object. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionCreates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.
Public operatorStatic memberSubtractionCreates an object event set by performing a subtraction operation on an ObjectEvent object and an ObjectEventSet object.
Top

The events in the object event set are generated by various SMO objects that represent the SQL Server objects.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft