Opérateur Package.Key.Inequality (Package.Key, Package.Key)
Determines whether two Package.Key objects are equal.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Shared Operator <> ( _
leftOperand As Package.Key, _
rightOperand As Package.Key _
) As Boolean
'Utilisation
Dim leftOperand As Package.Key
Dim rightOperand As Package.Key
Dim returnValue As Boolean
returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
Package.Key leftOperand,
Package.Key rightOperand
)
public:
static bool operator !=(
Package.Key^ leftOperand,
Package.Key^ rightOperand
)
static let inline(<>)
leftOperand:Package.Key *
rightOperand:Package.Key : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.
Paramètres
- leftOperand
Type : Microsoft.SqlServer.Management.XEvent.Package.Key
A Package.Key object.
- rightOperand
Type : Microsoft.SqlServer.Management.XEvent.Package.Key
An instance of Package.Key object.
Valeur de retour
Type : System.Boolean
A Boolean value that specifies the outcome of performing an inequality operation on two objects. If True, the two objects are not equal; otherwise False.