Freigeben über


TraceReader.GetFloat-Methode

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

Parameter

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

Rückgabewert

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

Implementiert

IDataRecord.GetFloat(Int32)

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceReader Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler