Export (0) Print
Expand All

ObjectEventSet.Add Method (ObjectEvent)

Adds an ObjectEvent object to the ObjectEventSet object.

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

public ObjectEventSet Add(
	ObjectEvent anEvent


Type: Microsoft.SqlServer.Management.Smo.ObjectEvent
An ObjectEvent object that is added to the ObjectEventSet object.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that contains the added ObjectEvent object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft