SystemDataTypeLookupBase.DateTime2 Method (Int32)
Gets the ISystemDataType object that represents the datetime2 data type and has the specified scale.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Function DateTime2 ( _
scale As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim scale As Integer
Dim returnValue As ISystemDataType
returnValue = instance.DateTime2(scale)
public ISystemDataType DateTime2(
int scale
)
public:
ISystemDataType^ DateTime2(
int scale
)
member DateTime2 :
scale:int -> ISystemDataType
public function DateTime2(
scale : int
) : ISystemDataType
Parameters
- scale
Type: System.Int32
The scale of the data type.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISystemDataType
The ISystemDataType object that represents the datetime2 data type.