Share via


SystemDataTypeLookupBase.Decimal Method (Int32)

Gets the ISystemDataType object that represents the decimal 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 Decimal ( _
    precision As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim precision As Integer
Dim returnValue As ISystemDataType

returnValue = instance.Decimal(precision)
public ISystemDataType Decimal(
    int precision
)
public:
ISystemDataType^ Decimal(
    int precision
)
member Decimal : 
        precision:int -> ISystemDataType 
public function Decimal(
    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 decimal data type.