getDateTimeOffset Method (String)

Download JDBC driver

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

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

Syntax

  
public microsoft.sql.DateTimeOffset getDateTimeOffset(String sCol)  

Parameters

sCol

The name of a parameter.

Return Value

A DateTimeOffset Class object.

Exceptions

SQLServerException

Remarks

You can set a DateTimeOffset Class parameter value with SQLServerCallableStatement.setDateTimeOffset.

See Also

getDateTimeOffset Method (SQLServerCallableStatement)
SQLServerCallableStatement Members
SQLServerCallableStatement Class