Export (0) Print
Expand All

StoredProcedureEventSet.Add Method (StoredProcedureEventSet, StoredProcedureEvent)

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

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

public static StoredProcedureEventSet Add(
	StoredProcedureEventSet eventSet,
	StoredProcedureEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the event set to which the event is added.
anEvent
Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEvent
A StoredProcedureEvent object that is added to the event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set after the new event is added.

Community Additions

ADD
Show:
© 2014 Microsoft