Send feedback on this topic.
Teradata.Client.Provider
GetTdTimeWithTimeZone Method



Teradata.Client.Provider Namespace > TdDataReader Class : GetTdTimeWithTimeZone Method
Column Ordinal
Gets the value of the specified field (column) as a TdTimeWithTimeZone.
Syntax
'Declaration
 
Public Function GetTdTimeWithTimeZone( _
   ByVal ordinal As Integer _
) As TdTimeWithTimeZone
'Usage
 
Dim instance As TdDataReader
Dim ordinal As Integer
Dim value As TdTimeWithTimeZone
 
value = instance.GetTdTimeWithTimeZone(ordinal)
public TdTimeWithTimeZone GetTdTimeWithTimeZone( 
   int ordinal
)
public:
TdTimeWithTimeZone GetTdTimeWithTimeZone( 
   int ordinal
) 

Parameters

ordinal
Column Ordinal

Return Value

Returns the value of the specified field represented as a TdTimeWithTimeZone type.
Exceptions
ExceptionDescription
ordinal is less than zero or ordinal is equal to or greater than TdDataReader.FieldCount.
The field cannot be converted into TdTimeWithTimeZone.
CommandBehavior is set to SchemaOnly, or there is no data for the row or column, or preceding columns are no longer accessible.
The TdDataReader is closed.
The Advanced SQL Engine returned an error, or .NET Data Provider for Teradata detected an error.
Remarks
Use this method to retrieve columns of type TIME WITH TIME ZONE.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDataReader Class
TdDataReader Members