This documentation is archived and is not being maintained.

SqlBoolean Inequality Operator

Compares two instances of SqlBoolean to determine if they are not equal.

[Visual Basic]
returnValue = SqlBoolean.op_Inequality(x, y)
[C#]
public static SqlBoolean operator !=(
 SqlBoolean x,
 SqlBoolean y
);
[C++]
public: static SqlBoolean op_Inequality(
 SqlBoolean x,
 SqlBoolean y
);
[JScript]
returnValue = x != y;

[Visual Basic] In Visual Basic, you can use the operators defined by a type, but you cannot define your own. You can use the NotEquals method instead of the SqlBoolean inequality operator.

[JScript] In JScript, you can use the operators defined by a type, but you cannot define your own.

Arguments [Visual Basic, JScript]

x
A SqlBoolean.
y
A SqlBoolean.

Parameters [C#, C++]

x
A SqlBoolean.
y
A SqlBoolean.

Return Value

A SqlBoolean that is True if the two instances are not equal or False if the two instances are equal. If either instance of SqlBoolean is null, the Value of the SqlBoolean will be Null.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlBoolean Structure | SqlBoolean Members | System.Data.SqlTypes Namespace

Show: