Export (0) Print
Expand All

ServerEventSet.Add Method (ServerEventSet, ServerEvent)

Returns a server event set after adding a new server event to the specified event set.

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

public static ServerEventSet Add(
	ServerEventSet eventSet,
	ServerEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.ServerEventSet
A ServerEventSet object that specifies the event set to which the new event is added.
anEvent
Type: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the event to be added to the event set.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft