Freigeben über


DatabaseDdlTriggerEventSet.Subtract-Methode

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)

Syntax

'Declaration
Public Shared Function Subtract ( _
    eventSet As DatabaseDdlTriggerEventSet, _
    anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Usage
Dim eventSet As DatabaseDdlTriggerEventSet 
Dim anEvent As DatabaseDdlTriggerEvent 
Dim returnValue As DatabaseDdlTriggerEventSet 

returnValue = DatabaseDdlTriggerEventSet.Subtract(eventSet, _
    anEvent)
public static DatabaseDdlTriggerEventSet Subtract(
    DatabaseDdlTriggerEventSet eventSet,
    DatabaseDdlTriggerEvent anEvent
)
public:
static DatabaseDdlTriggerEventSet^ Subtract(
    DatabaseDdlTriggerEventSet^ eventSet, 
    DatabaseDdlTriggerEvent^ anEvent
)
static member Subtract : 
        eventSet:DatabaseDdlTriggerEventSet * 
        anEvent:DatabaseDdlTriggerEvent -> DatabaseDdlTriggerEventSet
public static function Subtract(
    eventSet : DatabaseDdlTriggerEventSet, 
    anEvent : DatabaseDdlTriggerEvent
) : DatabaseDdlTriggerEventSet

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database DDL trigger events after the event has been removed.

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

DatabaseDdlTriggerEventSet Klasse

Microsoft.SqlServer.Management.Smo-Namespace