Partilhar via


Operador Equality

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared Operator = ( _
    a As UserDefinedFunctionEvent, _
    b As UserDefinedFunctionEvent _
) As Boolean
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

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