Compartilhar via


Operador Equality

Creates a server event set by performing an equality operation on two ServerEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator = ( _
    a As ServerEvent, _
    b As ServerEvent _
) As Boolean
'Uso
Dim a As ServerEvent
Dim b As ServerEvent
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    ServerEvent a,
    ServerEvent b
)
public:
static bool operator ==(
    ServerEvent^ a, 
    ServerEvent^ b
)
static let inline (=)
        a:ServerEvent * 
        b:ServerEvent  : 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 ServerEventSet object value that specifies a set of server events.