Bewerken

Delen via


getDateTimeOffset Method (int)

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(int index)  

Parameters

index

The one-based parameter ordinal.

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