Freigeben über


TraceReader.GetGuid-Methode

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

Parameter

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

Rückgabewert

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

Implementiert

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