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

ServiceQueueEventSet.Subtract Method

Returns a Service Broker queue event set after subtracting a queue event from the specified set.

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

public static ServiceQueueEventSet Subtract(
	ServiceQueueEventSet eventSet,
	ServiceQueueEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the event set from which the event is subtracted.
anEvent
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue event to subtract from the event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of Service Broker queue events after the event is subtracted.

Community Additions

Show:
© 2015 Microsoft