Partager via


Méthode GetDecimal

Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetDecimal ( _
    i As Integer _
) As Decimal
'Utilisation
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

Paramètres

Valeur de retour

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

Implémente

IDataRecord. . :: . .GetDecimal(Int32)