Condividi tramite


Operatore Equality

Creates a object event set by performing an equality operation on two ObjectEvent objects.

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

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    a As ObjectEvent, _
    b As ObjectEvent _
) As Boolean
'Utilizzo
Dim a As ObjectEvent
Dim b As ObjectEvent
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    ObjectEvent a,
    ObjectEvent b
)
public:
static bool operator ==(
    ObjectEvent^ a, 
    ObjectEvent^ b
)
static let inline (=)
        a:ObjectEvent * 
        b:ObjectEvent  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
An ObjectEventSet object value that specifies a set of object events.