Operatore EventField.Key.Inequality (EventField.Key, EventField.Key)
Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
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 EventField.Key, _
rightOperand As EventField.Key _
) As Boolean
'Utilizzo
Dim leftOperand As EventField.Key
Dim rightOperand As EventField.Key
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
EventField.Key leftOperand,
EventField.Key rightOperand
)
public:
static bool operator !=(
EventField.Key^ leftOperand,
EventField.Key^ rightOperand
)
static let inline(<>)
leftOperand:EventField.Key *
rightOperand:EventField.Key : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- leftOperand
Tipo: Microsoft.SqlServer.Management.XEvent.EventField.Key
A EventField.Key object.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.EventField.Key
A EventField.Key object.
Valore restituito
Tipo: System.Boolean
A Boolean object that specifies whether the two specified objects are unequal. If True, the two specified objects are unequal. If False, the two specified objects are equal.