Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseEventSet.Add Method (DatabaseEventSet, DatabaseEvent)

Returns a set of database events after adding a new database event to the specified event set.

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

public static DatabaseEventSet Add(
	DatabaseEventSet eventSet,
	DatabaseEvent anEvent


Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
An DatabaseEventSet object that specifies the database event set to which the new event is added.
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the new event added to the database event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that contains the new DatabaseEvent object.

Community Additions

© 2015 Microsoft