Partager via


Equality opérateur

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Operator = ( _
    a As UserDefinedFunctionEvent, _
    b As UserDefinedFunctionEvent _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

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