Sdílet prostřednictvím


TraceReader.GetFloat Method

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

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

Syntax

'Declaration
Public Function GetFloat ( _
    ordinal As Integer _
) As Single
'Usage
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

Parameters

  • ordinal
    Type: System.Int32
    An Int32 value that specifies the column position of the data.

Return Value

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

Implements

IDataRecord.GetFloat(Int32)

Examples

Readme_Tracer