Freigeben über


getFetchDirection Method (SQLServerResultSet)

Retrieves the fetch direction for this SQLServerResultSet object.

public int getFetchDirection()

Rückgabewert

An int that indicates the current fetch direction.

Ausnahmen

SQLServerException

Hinweise

This getFetchDirection method is specified by the getFetchDirection method in the java.sql.ResultSet interface.

This method returns FETCH_FORWARD for forward-only cursors, the last setting made by a call to the setFetchDirection method for other cursor types, and will return FETCH_UNKNOWN these cursor types if the setFetchDirection method has never been called.

Siehe auch

Referenz

SQLServerResultSet Class

Konzepte

SQLServerResultSet Methods
SQLServerResultSet Members