Condividi tramite


Operatore Equality

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    a As ViewEvent, _
    b As ViewEvent _
) As Boolean
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
A ViewEventSet object value that specifies a set of view events.