Share via


SystemDataTypeLookupBase.DateTime2 Method

Gets the ISystemDataType object that represents the datetime2 data type.

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

Syntax

'Declaration
Public Function DateTime2 As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase 
Dim returnValue As ISystemDataType 

returnValue = instance.DateTime2()
public ISystemDataType DateTime2()
public:
ISystemDataType^ DateTime2()
member DateTime2 : unit -> ISystemDataType
public function DateTime2() : ISystemDataType

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISystemDataType
The ISystemDataType object that represents the datetime2 data type.

See Also

Reference

SystemDataTypeLookupBase Class

DateTime2 Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace