This documentation is archived and is not being maintained.

SqlDateTime.Value Property

Gets the value of the SqlDateTime structure. This property is read-only.

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

Property Value

The value of this SqlDateTime structure.

Exceptions

Exception Type Condition
SqlNullValueException

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

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

Show: