SqlDateTime.Value Property

Definition

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

public:
 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.

Exceptions

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

Applies to

See also