Aracılığıyla paylaş


UserDefinedFunctionEventSet.Subtract Method

Subtracts a user defined function event from a user defined function event set.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A user defined function event from a user defined function event set.

Examples

Handling SMO Events

See Also

Reference

UserDefinedFunctionEventSet Class

Microsoft.SqlServer.Management.Smo Namespace