Condividi tramite


Operatore ReadOnlyEventColumnInfo.Key.Inequality (ReadOnlyEventColumnInfo.Key, ReadOnlyEventColumnInfo.Key)

Determines whether two ReadOnlyEventColumnInfo.Key objects are not equal

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

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    leftOperand As ReadOnlyEventColumnInfo.Key, _
    rightOperand As ReadOnlyEventColumnInfo.Key _
) As Boolean
'Utilizzo
Dim leftOperand As ReadOnlyEventColumnInfo.Key 
Dim rightOperand As ReadOnlyEventColumnInfo.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    ReadOnlyEventColumnInfo.Key leftOperand,
    ReadOnlyEventColumnInfo.Key rightOperand
)
public:
static bool operator !=(
    ReadOnlyEventColumnInfo.Key^ leftOperand, 
    ReadOnlyEventColumnInfo.Key^ rightOperand
)
static let inline(<>)
        leftOperand:ReadOnlyEventColumnInfo.Key * 
        rightOperand:ReadOnlyEventColumnInfo.Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that specifies the outcome of performing an inequality operation on two objects. If True, the two objects are not equal; otherwise False.

Vedere anche

Riferimento

ReadOnlyEventColumnInfo.Key Classe

Overload Inequality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent