Share via


DataTypeSpec.DateTime Property

Gets the data type specification for the datetime data type.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DateTime As DataTypeSpec
    Get
'Usage
Dim value As DataTypeSpec

value = DataTypeSpec.DateTime
public static DataTypeSpec DateTime { get; }
public:
static property DataTypeSpec^ DateTime {
    DataTypeSpec^ get ();
}
static member DateTime : DataTypeSpec
static function get DateTime () : DataTypeSpec

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec
The DataTypeSpec object that contains the datetime data type specification.