Share via


SystemDataTypeLookupBase.Numeric Method (Int32)

Gets the ISystemDataType object that represents the numeric data type and has the specified precision.

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

Syntax

'Declaration
Public Function Numeric ( _
    precision As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim precision As Integer
Dim returnValue As ISystemDataType

returnValue = instance.Numeric(precision)
public ISystemDataType Numeric(
    int precision
)
public:
ISystemDataType^ Numeric(
    int precision
)
member Numeric : 
        precision:int -> ISystemDataType 
public function Numeric(
    precision : int
) : ISystemDataType

Parameters

  • precision
    Type: System.Int32
    The precision of the data type.

Return Value

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