Оператор Inequality (Volume.Key, Volume.Key)
Determines whether the two specified key objects have different values using specified operands.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
Public Shared Operator <> ( _
leftOperand As Volume..::..Key, _
rightOperand As Volume..::..Key _
) As Boolean
'Применение
Dim leftOperand As Volume..::..Key
Dim rightOperand As Volume..::..Key
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
Volume..::..Key leftOperand,
Volume..::..Key rightOperand
)
public:
static bool operator !=(
Volume..::..Key^ leftOperand,
Volume..::..Key^ rightOperand
)
static let inline (<>)
leftOperand:Volume..::..Key *
rightOperand:Volume..::..Key : bool
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- leftOperand
Тип: Microsoft.SqlServer.Management.Utility. . :: . .Volume. . :: . .Key
The operand object to the left of the inequality operator.
- rightOperand
Тип: Microsoft.SqlServer.Management.Utility. . :: . .Volume. . :: . .Key
The operand object to the right of the inequality operator.
Возвращаемое значение
Тип: System. . :: . .Boolean
true if the two objects are different; otherwise, false.