TraceReader.GetGuid Method

Gets a Guid system 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 GetGuid ( _
    ordinal As Integer _
) As Guid
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Guid 

returnValue = instance.GetGuid(ordinal)
public Guid GetGuid(
    int ordinal
)
public:
virtual Guid GetGuid(
    int ordinal
) sealed
abstract GetGuid : 
        ordinal:int -> Guid  
override GetGuid : 
        ordinal:int -> Guid
public final function GetGuid(
    ordinal : int
) : Guid

Parameters

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

Return Value

Type: System.Guid
A Guid system object value that represents the data at the specified column position.

Implements

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