Aracılığıyla paylaş


ServerDdlTriggerEventSet.Subtract Method

Returns a set of server DDL trigger events after subtracting a DDL trigger event from the specified set of event set.

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

Syntax

'Bildirim
Public Shared Function Subtract ( _
    eventSet As ServerDdlTriggerEventSet, _
    anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Kullanım
Dim eventSet As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the specified event has been subtracted.

Examples

Handling SMO Events

See Also

Reference

ServerDdlTriggerEventSet Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Event Groups