DataTypeSpec.DateTime2 Property
Gets the data type specification for the datetime2 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 DateTime2 As DataTypeSpec
Get
'Usage
Dim value As DataTypeSpec
value = DataTypeSpec.DateTime2
public static DataTypeSpec DateTime2 { get; }
public:
static property DataTypeSpec^ DateTime2 {
DataTypeSpec^ get ();
}
static member DateTime2 : DataTypeSpec
static function get DateTime2 () : DataTypeSpec
Property Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec
The DataTypeSpec object that contains the datetime2 data type specification.