Share via


AdomdDataReader.GetGuid Method

Returns a Guid that contains the value from the specified column.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetGuid ( _
    ordinal As Integer _
) As Guid
'Usage
Dim instance As AdomdDataReader
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
    The zero-based ordinal position of the column to be retrieved.

Return Value

Type: System.Guid
A Guid that contains the value of the specified column.

Implements

IDataRecord.GetGuid(Int32)