Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseEventSet.Subtract Method

Returns a set of database events after removing a database event from the specified event set.

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

public static DatabaseEventSet Subtract(
	DatabaseEventSet eventSet,
	DatabaseEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
An DatabaseEventSet object that specifies the database event set from which the event is removed.
anEvent
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the event removed from the database event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that specifies the database event set after removing the database event.

Community Additions

Show:
© 2015 Microsoft