Freigeben über


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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

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