Compartilhar via


Método GetFloat

Gets a floating point value of the data value at the specified column position.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Function GetFloat ( _
    ordinal As Integer _
) As Single
'Uso
Dim instance As TraceReader
Dim ordinal As Integer
Dim returnValue As Single

returnValue = instance.GetFloat(ordinal)
public float GetFloat(
    int ordinal
)
public:
virtual float GetFloat(
    int ordinal
) sealed
abstract GetFloat : 
        ordinal:int -> float32 
override GetFloat : 
        ordinal:int -> float32 
public final function GetFloat(
    ordinal : int
) : float

Parâmetros

Valor de retorno

Tipo: System. . :: . .Single
A Float32 value that represents the data at the specified column position.

Implementa

IDataRecord. . :: . .GetFloat(Int32)

Exemplos

Readme_Tracer