Partager via


Méthode GetFloat

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

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Public Function GetFloat ( _
    ordinal As Integer _
) As Single
'Utilisation
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

Paramètres

Valeur de retour

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

Implémente

IDataRecord. . :: . .GetFloat(Int32)

Exemples

Readme_Tracer