Export (0) Print
Expand All

StoredProcedureEventSet.Subtract Method (StoredProcedureEventSet, StoredProcedureEvent)

 

Applies To: SQL Server 2016 Preview

Returns a set of stored procedure events after subtracting a stored procedure event from the specified event set.

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

public static StoredProcedureEventSet Subtract(
	StoredProcedureEventSet eventSet,
	StoredProcedureEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet

A StoredProcedureEventSet object that specifies the stored procedure event set from which to subtract the stored procedure event.

anEvent
Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEvent

A StoredProcedureEvent object that specifies the stored procedure event to be subtracted from the event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet

A StoredProcedureEventSet object value that specifies a set of stored procedure events after the stored procedure event is subtracted.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft