SqlDateTime.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.