ActivityId.Inequality Operator
Determines whether the two instances of activity are not equal.
Namespace: Microsoft.SqlServer.XEvent
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Shared Operator <> ( _
x As ActivityId, _
y As ActivityId _
) As Boolean
'Usage
Dim x As ActivityId
Dim y As ActivityId
Dim returnValue As Boolean
returnValue = (x <> y)
public static bool operator !=(
ActivityId x,
ActivityId y
)
public:
static bool operator !=(
ActivityId^ x,
ActivityId^ y
)
static let inline(<>)
x:ActivityId *
y:ActivityId : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- x
Type: Microsoft.SqlServer.XEvent.ActivityId
The first activity to compare.
- y
Type: Microsoft.SqlServer.XEvent.ActivityId
The second activity to compare.
Return Value
Type: System.Boolean
true if the two activities are not equal; otherwise, false.