Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ObjectEventSet.Add Method (ObjectEventSet, ObjectEvent)

Adds an ObjectEvent object to a ObjectEventSet.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public static ObjectEventSet Add(
	ObjectEventSet eventSet,
	ObjectEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
ObjectEventSet that will have the Object Event added.
anEvent
Type: Microsoft.SqlServer.Management.Smo.ObjectEvent
ObjectEvent to be added.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.