Freigeben über


TraceReader.GetChar-Methode

Gets a character value of the specified column.

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

Syntax

'Declaration
Public Function GetChar ( _
    ordinal As Integer _
) As Char
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Char 

returnValue = instance.GetChar(ordinal)
public char GetChar(
    int ordinal
)
public:
virtual wchar_t GetChar(
    int ordinal
) sealed
abstract GetChar : 
        ordinal:int -> char  
override GetChar : 
        ordinal:int -> char
public final function GetChar(
    ordinal : int
) : char

Parameter

  • ordinal
    Typ: System.Int32
    An Int32 value that specifies the column position from which to retrieve the by character value.

Rückgabewert

Typ: System.Char
A Char value of the specified column.

Implementiert

IDataRecord.GetChar(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