Compartilhar via


Operador Equality

Creates a view event set by performing an equality operation on two ViewEvent objects.

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

Sintaxe

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

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