Share via


SystemDataTypeLookupBase.Decimal Method (Int32, Int32)

Gets the ISystemDataType object that represents the decimal 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 Decimal ( _
    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.Decimal(precision, _
    scale)
public ISystemDataType Decimal(
    int precision,
    int scale
)
public:
ISystemDataType^ Decimal(
    int precision, 
    int scale
)
member Decimal : 
        precision:int * 
        scale:int -> ISystemDataType
public function Decimal(
    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 decimal data type.

See Also

Reference

SystemDataTypeLookupBase Class

Decimal Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace