Bewerken

Share via


getDateTimeOffset(java.lang.string) (SQLServerResultSet)

Download JDBC driver

This method was added in Microsoft SQL Server JDBC Driver 3.0.

Retrieves the value of the designated column as a DateTimeOffset Class object in the Java programming language given the parameter index.

Syntax

  
public microsoft.sql.DateTimeOffset getDateTimeOffset(String columnName)  

Parameters

columnName

The name of the column.

Return Value

A DateTimeOffset Class object.

Exceptions

SQLServerException

Remarks

You can update a DateTimeOffset Class value with SQLServerResultSet.updateDateTimeOffset.

See Also

SQLServerResultSet Members
SQLServerResultSet Class