다음을 통해 공유


SystemDataTypeLookupBase.DateTime2 메서드 (Int32)

Gets the ISystemDataType object that represents the datetime2 data type and has the specified scale.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Function DateTime2 ( _
    scale As Integer _
) As ISystemDataType
‘사용 방법
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

매개 변수

반환 값

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

참고 항목

참조

SystemDataTypeLookupBase 클래스

DateTime2 오버로드

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스