Share via


SystemDataTypeLookupBase.Numeric Method (Int32, Int32)

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

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, _
    scale As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim precision As Integer
Dim scale As Integer
Dim returnValue As ISystemDataType

returnValue = instance.Numeric(precision, _
    scale)
public ISystemDataType Numeric(
    int precision,
    int scale
)
public:
ISystemDataType^ Numeric(
    int precision, 
    int scale
)
member Numeric : 
        precision:int * 
        scale:int -> ISystemDataType 
public function Numeric(
    precision : int, 
    scale : 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.