Udostępnij przez


Metoda DataProvider.GetDecimal

Zwraca dane dla określonej kolumna z danego typu.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Function GetDecimal ( _
    i As Integer _
) As Decimal
'Użycie
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

Parametry

Wartość zwracana

Typ: System.Decimal
Dane dla określonej kolumna z danego typu.

Implementacje

IDataRecord.GetDecimal(Int32)