Share via


Volume.Key.Inequality Operator (Volume.Key, Volume.Key)

Determines whether the two specified key objects have different values using specified operands.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As Volume.Key, _
    rightOperand As Volume.Key _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the two objects are different; otherwise, false.

See Also

Reference

Volume.Key Class

Inequality Overload

Microsoft.SqlServer.Management.Utility Namespace