Freigeben über


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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

UserDefinedFunctionEvent Klasse

Microsoft.SqlServer.Management.Smo-Namespace