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
public bool Value {get;}
public: __property bool get_Value();
public function get Value() : Boolean;

Property Value

true if the SqlBoolean is True; otherwise false.


Exception Type Condition
SqlNullValueException The property is set to null.


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