This documentation is archived and is not being maintained.

SqlBoolean.Value Property

Gets the SqlBoolean structure's value. This property is read-only.

[Visual Basic]
Public ReadOnly Property Value As Boolean
[C#]
public bool Value {get;}
[C++]
public: __property bool get_Value();
[JScript]
public function get Value() : Boolean;

Property Value

true if the SqlBoolean is True; otherwise false.

Exceptions

Exception Type Condition
SqlNullValueException The property is set to 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 | False | IsTrue | IsFalse | IsNull

Show: