Aracılığıyla paylaş


UserDefinedFunctionEventSet.Subtraction Operator

Creates a user-defined function event set by performing a subtraction operation on a UserDefinedFunctionEvent object and a UserDefinedFunctionEventSet object.

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

Syntax

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

returnValue = (eventSet - anEvent)
public static UserDefinedFunctionEventSet operator -(
    UserDefinedFunctionEventSet eventSet,
    UserDefinedFunctionEvent anEvent
)
public:
static UserDefinedFunctionEventSet^ operator -(
    UserDefinedFunctionEventSet^ eventSet, 
    UserDefinedFunctionEvent^ anEvent
)
static let inline (-)
        eventSet:UserDefinedFunctionEventSet * 
        anEvent:UserDefinedFunctionEvent  : UserDefinedFunctionEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.

Examples

Handling SMO Events

See Also

Reference

UserDefinedFunctionEventSet Class

Microsoft.SqlServer.Management.Smo Namespace