Bagikan melalui


TraceReader.GetChar Method

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

Parameters

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

Return Value

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

Implements

IDataRecord.GetChar(Int32)

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions