Share via


TargetColumnInfo.Key.Inequality Operator (TargetColumnInfo.Key, TargetColumnInfo.Key)

Determines whether two TargetColumnInfo.Key objects are equal.

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

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As TargetColumnInfo.Key, _
    rightOperand As TargetColumnInfo.Key _
) As Boolean
'Usage
Dim leftOperand As TargetColumnInfo.Key 
Dim rightOperand As TargetColumnInfo.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    TargetColumnInfo.Key leftOperand,
    TargetColumnInfo.Key rightOperand
)
public:
static bool operator !=(
    TargetColumnInfo.Key^ leftOperand, 
    TargetColumnInfo.Key^ rightOperand
)
static let inline(<>)
        leftOperand:TargetColumnInfo.Key * 
        rightOperand:TargetColumnInfo.Key  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
A Boolean value that specifies the outcome of performing an inequality operation on two objects. If True, the two not objects are equal; otherwise False.

See Also

Reference

TargetColumnInfo.Key Class

Inequality Overload

Microsoft.SqlServer.Management.XEvent Namespace