SqlDateTime.Value Property


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

 property DateTime Value { DateTime get(); };
public DateTime Value { get; }
member this.Value : DateTime
Public ReadOnly Property Value As DateTime

Property Value

The value of this SqlDateTime structure.


The exception that is thrown when the Value property of a System.Data.SqlTypes structure is set to null.

Applies to

See also