setDateTimeOffset Method (SQLServerPreparedStatement)

DownloadDownload JDBC Driver

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

Sets the value of the column specified to the DateTimeOffset Class value.

Syntax


public final void setDateTimeOffset(int n, microsoft.sql.DateTimeOffset x)  

Parameters

n

The zero-based ordinal of a column.

x

The DateTimeOffset Class object.

Exceptions

SQLServerException

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class