'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdTime value = instance.GetTdTime(ordinal)
Parameters
- ordinal
- Column Ordinal
Return Value
Returns the value of the specified field represented as a TdTime type.
'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdTime value = instance.GetTdTime(ordinal)
Exception | Description |
---|---|
System.IndexOutOfRangeException | ordinal is less than zero or ordinal is equal to or greater than TdDataReader.FieldCount. |
System.InvalidCastException | The field cannot be converted into TdTime. |
System.InvalidOperationException | CommandBehavior is set to SchemaOnly, or there is no data for the row or column, or preceding columns are no longer accessible. |
System.ObjectDisposedException | The TdDataReader is closed. |
TdException | The Advanced SQL Engine returned an error, or .NET Data Provider for Teradata detected an error. |
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019