StoredProcedureEvent.Add(StoredProcedureEvent, StoredProcedureEvent) StoredProcedureEvent.Add(StoredProcedureEvent, StoredProcedureEvent) StoredProcedureEvent.Add(StoredProcedureEvent, StoredProcedureEvent) Method

Definition

Returns the stored procedure event set that is created when two stored procedure events are added together.

public:
 static Microsoft::SqlServer::Management::Smo::StoredProcedureEventSet ^ Add(Microsoft::SqlServer::Management::Smo::StoredProcedureEvent ^ eventLeft, Microsoft::SqlServer::Management::Smo::StoredProcedureEvent ^ eventRight);
public static Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet Add (Microsoft.SqlServer.Management.Smo.StoredProcedureEvent eventLeft, Microsoft.SqlServer.Management.Smo.StoredProcedureEvent eventRight);
Public Shared Function Add (eventLeft As StoredProcedureEvent, eventRight As StoredProcedureEvent) As StoredProcedureEventSet
Parameters
eventLeft
StoredProcedureEvent StoredProcedureEvent StoredProcedureEvent

A StoredProcedureEvent object that specifies a stored procedure event.

eventRight
StoredProcedureEvent StoredProcedureEvent StoredProcedureEvent

A StoredProcedureEvent object that specifies another stored procedure event.

Returns

A StoredProcedureEventSet object value that specifies a set of two stored procedures that are created when two events were added together.

Examples

Handling SMO Events

Applies to