Share via


Volume.Key.Inequality Operator

Definition

Determines whether the two specified key objects have different values.

Overloads

Inequality(Volume+Key, Volume+Key)

Determines whether the two specified key objects have different values using specified operands.

Inequality(Volume+Key, Object)

Determines whether the specified object and the left-hand side of the key are unequal.

Inequality(Object, Volume+Key)

Determines whether the specified object and the right-hand side of the key are unequal.

Inequality(Volume+Key, Volume+Key)

Determines whether the two specified key objects have different values using specified operands.

public:
 static bool operator !=(Microsoft::SqlServer::Management::Utility::Volume::Key ^ leftOperand, Microsoft::SqlServer::Management::Utility::Volume::Key ^ rightOperand);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Volume.Key * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator != (leftOperand As Volume.Key, rightOperand As Volume.Key) As Boolean

Parameters

leftOperand
Volume.Key

The operand object to the left of the inequality operator.

rightOperand
Volume.Key

The operand object to the right of the inequality operator.

Returns

true if the two objects are different; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>

Applies to

Inequality(Volume+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::Volume::Key ^ leftOperand, System::Object ^ obj);
public static bool operator != (Microsoft.SqlServer.Management.Utility.Volume.Key leftOperand, object obj);
static member op_Inequality : Microsoft.SqlServer.Management.Utility.Volume.Key * obj -> bool
Public Shared Operator != (leftOperand As Volume.Key, obj As Object) As Boolean

Parameters

leftOperand
Volume.Key

A key object that contains the left-hand side of the key to compare.

obj
Object

An object that contains the object to compare.

Returns

true if the two objects are unequal; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28Microsoft.SqlServer.Management.Utility.Volume.Key%2CSystem.Object%29?displayProperty=fullName>

Applies to

Inequality(Object, Volume+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::Volume::Key ^ rightOperand);
public static bool operator != (object obj, Microsoft.SqlServer.Management.Utility.Volume.Key rightOperand);
static member op_Inequality : obj * Microsoft.SqlServer.Management.Utility.Volume.Key -> bool
Public Shared Operator != (obj As Object, rightOperand As Volume.Key) As Boolean

Parameters

obj
Object

An object that contains the object to compare.

rightOperand
Volume.Key

A key object that contains the right-hand side of the key to compare.

Returns

true if the two objects are unequal; otherwise, false.

Remarks

The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.Utility.Volume.Key.Compare%28System.Object%2CMicrosoft.SqlServer.Management.Utility.Volume.Key%29?displayProperty=fullName>

Applies to