Delen via


UserDefinedFunctionEvent.Equality Operator

Creates a user-defined function event set by performing an equality operation on two UserDefinedFunctionEvent objects.

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

Syntax

'Declaration
Public Shared Operator = ( _
    a As UserDefinedFunctionEvent, _
    b As UserDefinedFunctionEvent _
) As Boolean
'Usage
Dim a As UserDefinedFunctionEvent
Dim b As UserDefinedFunctionEvent
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    UserDefinedFunctionEvent a,
    UserDefinedFunctionEvent b
)
public:
static bool operator ==(
    UserDefinedFunctionEvent^ a, 
    UserDefinedFunctionEvent^ b
)
static let inline (=)
        a:UserDefinedFunctionEvent * 
        b:UserDefinedFunctionEvent  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.