Export (0) Print
Expand All

SqlAssemblyEventSet.Add Method (SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.

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

public static SqlAssemblyEventSet Add(
	SqlAssemblyEventSet eventSet,
	SqlAssemblyEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object to which the SqlAssemblyEvent event object is added.
anEvent
Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
An SqlAssemblyEvent object that is added to the SqlAssemblyEventSet object.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft