DatabaseDdlTriggerEventSet.Subtract Method (DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

 

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

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

public static DatabaseDdlTriggerEventSet Subtract(
	DatabaseDdlTriggerEventSet eventSet,
	DatabaseDdlTriggerEvent anEvent
)

Parameters

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

A DatabaseDdlTriggerEventSet object that specifies the database DDL trigger event set from which the event is removed.

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

A DatabaseDdlTriggerEvent that specifies the database DDL trigger event that is added to the event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet

A DatabaseDdlTriggerEventSet object value that specifies a set of database DDL trigger events after the event has been removed.

Return to top
Show: