Поделиться через


Оператор ReadOnlyEventColumnInfo.Key.Inequality (ReadOnlyEventColumnInfo.Key, ReadOnlyEventColumnInfo.Key)

Determines whether two ReadOnlyEventColumnInfo.Key objects are not equal

Пространство имен:  Microsoft.SqlServer.Management.XEvent
Сборка:  Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)

Синтаксис

'Декларация
Public Shared Operator <> ( _
    leftOperand As ReadOnlyEventColumnInfo.Key, _
    rightOperand As ReadOnlyEventColumnInfo.Key _
) As Boolean
'Применение
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 поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

Возвращаемое значение

Тип: 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.

См. также

Справочник

ReadOnlyEventColumnInfo.Key Класс

Перегрузка Inequality

Пространство имен Microsoft.SqlServer.Management.XEvent