Utility.Key.Inequality Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified objects are unequal.
Overloads
Inequality(Utility+Key, Utility+Key) |
Determines whether the specified right and left-hand sides of the key are unequal. |
Inequality(Utility+Key, Object) |
Determines whether the specified object and the left-hand side of the key are unequal. |
Inequality(Object, Utility+Key) |
Determines whether the specified object and the right-hand side of the key are unequal. |
Inequality(Utility+Key, Utility+Key)
Determines whether the specified right and left-hand sides of the key are unequal.
public:
static bool operator !=(Microsoft::SqlServer::Management::Utility::Utility::Key ^ leftOperand, Microsoft::SqlServer::Management::Utility::Utility::Key ^ rightOperand);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Utility.Key leftOperand, Microsoft.SqlServer.Management.Utility.Utility.Key rightOperand);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Utility.Key * Microsoft.SqlServer.Management.Utility.Utility.Key -> bool
Public Shared Operator != (leftOperand As Utility.Key, rightOperand As Utility.Key) As Boolean
Parameters
- leftOperand
- Utility.Key
A Utility.Key object containing the left-hand side of the key to compare.
- rightOperand
- Utility.Key
A Utility.Key object containing the right-hand side of the key to compare.
Returns
A Boolean value that indicates whether the two values are unequal. Returns true
if one parameter is null
and the other is not, or if the two parameters are unequal. Otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Utility.Key.Compare%28Microsoft.SqlServer.Management.Utility.Utility.Key%2CMicrosoft.SqlServer.Management.Utility.Utility.Key%29?displayProperty=fullName>
Applies to
Inequality(Utility+Key, Object)
Determines whether the specified object and the left-hand side of the key are unequal.
public:
static bool operator !=(Microsoft::SqlServer::Management::Utility::Utility::Key ^ leftOperand, System::Object ^ obj);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Utility.Key leftOperand, object obj);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Utility.Key * obj -> bool
Public Shared Operator != (leftOperand As Utility.Key, obj As Object) As Boolean
Parameters
- leftOperand
- Utility.Key
A Utility.Key object containing the left-hand side of the key to compare.
Returns
A Boolean value that indicates whether the two values are unequal. Returns true
if one parameter is null
and the other is not, or if the two parameters are unequal. Otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Utility.Key.Compare%28Microsoft.SqlServer.Management.Utility.Utility.Key%2CSystem.Object%29?displayProperty=fullName>
Applies to
Inequality(Object, Utility+Key)
Determines whether the specified object and the right-hand side of the key are unequal.
public:
static bool operator !=(System::Object ^ obj, Microsoft::SqlServer::Management::Utility::Utility::Key ^ rightOperand);
public static bool operator != (object obj, Microsoft.SqlServer.Management.Utility.Utility.Key rightOperand);
static member op_Inequality : obj * Microsoft.SqlServer.Management.Utility.Utility.Key -> bool
Public Shared Operator != (obj As Object, rightOperand As Utility.Key) As Boolean
Parameters
- rightOperand
- Utility.Key
A Utility.Key object containing the right-hand side of the key to compare.
Returns
A Boolean value that indicates whether the two values are unequal. Returns true
if one parameter is null
and the other is not, or if the two parameters are unequal. Otherwise, false
.
Remarks
The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Utility.Key.Compare%28System.Object%2CMicrosoft.SqlServer.Management.Utility.Utility.Key%29?displayProperty=fullName>