Partager via


Opérateur ActivityId.Inequality

Determines whether the two instances of activity are not equal.

Espace de noms :  Microsoft.SqlServer.XEvent
Assembly :  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    x As ActivityId, _
    y As ActivityId _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

Type : System.Boolean
true if the two activities are not equal; otherwise, false.

Voir aussi

Référence

ActivityId Classe

Espace de noms Microsoft.SqlServer.XEvent