Export (0) Print
Expand All

ObjectEventSet Class

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

System.Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.ObjectEventSet

public sealed class ObjectEventSet : EventSetBase

NameDescription
System_CAPS_pubmethodObjectEventSet()

Initializes a new instance of the ObjectEventSet class.

System_CAPS_pubmethodObjectEventSet(ObjectEvent)

Initializes a new instance of the ObjectEventSet class with the specified set of event.

System_CAPS_pubmethodObjectEventSet(ObjectEvent[])

Initializes a new instance of the ObjectEventSet class with the specified set of events.

System_CAPS_pubmethodObjectEventSet(ObjectEventSet)

Initializes a new instance of the ObjectEventSet class with a specified set of events.

NameDescription
System_CAPS_pubpropertyAlter

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.

System_CAPS_pubpropertyDrop

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.

System_CAPS_pubpropertyNumberOfElements

Gets the number of events in the event set.(Overrides EventSetBase.NumberOfElements.)

System_CAPS_protpropertyStorage

Gets or sets the bit array for event set storage. (Inherited from EventSetBase.)

NameDescription
System_CAPS_pubmethodAdd(ObjectEvent)

Adds an ObjectEvent object to the ObjectEventSet object.

System_CAPS_pubmethodSystem_CAPS_staticAdd(ObjectEventSet, ObjectEvent)

Adds an ObjectEvent object to a ObjectEventSet.

System_CAPS_pubmethodCopy()

Returns a copy of the ObjectEventSet object.(Overrides EventSetBase.Copy().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemove(ObjectEvent)

Removes an event from the event set.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(ObjectEventSet, ObjectEvent)

Subtracts a ObjectEvent from a T:Microsoft.SqlServer.Management.Smo.ObjectEventSet.

System_CAPS_pubmethodToString()

Returns a string that represents the ObjectEventSet object.(Overrides Object.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(ObjectEventSet, ObjectEvent)

Creates an object event set by performing an addition operation on an ObjectEvent object and an ObjectEventSet object.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(ObjectEventSet, ObjectEvent)

Creates an object event set by performing a subtraction operation on an ObjectEvent object and an ObjectEventSet object.

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

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.

Legacy Code Example

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft