Share via


DataProvider.GetDecimal Method

Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetDecimal ( _
    i As Integer _
) As Decimal
'Usage
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Decimal

returnValue = instance.GetDecimal(i)
public decimal GetDecimal(
    int i
)
public:
virtual Decimal GetDecimal(
    int i
) sealed
abstract GetDecimal : 
        i:int -> decimal 
override GetDecimal : 
        i:int -> decimal 
public final function GetDecimal(
    i : int
) : decimal

Parameters

Return Value

Type: System.Decimal
Data for the specified column with the given type.

Implements

IDataRecord.GetDecimal(Int32)