StoredProcedureEventSet.Add Method (StoredProcedureEvent)


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

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

public StoredProcedureEventSet Add(
	StoredProcedureEvent 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.

Return to top