Export (0) Print
Expand All

DatabaseEventSet.Add Method (DatabaseEvent)

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

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

public DatabaseEventSet Add(
	DatabaseEvent anEvent
)

Parameters

anEvent
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the database event added to the database event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that contains the new DatabaseEvent object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft