Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.34 KB

getholdability-method-sqlserverconnection.md

File metadata and controls

43 lines (31 loc) · 1.34 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getHoldability Method (SQLServerConnection)
getHoldability Method (SQLServerConnection)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerConnection.getHoldability
Assembly

getHoldability Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Retrieves the current holdability of SQLServerResultSet objects created by using this SQLServerConnection object.

Syntax

  
public int getHoldability()  

Return Value

An int value that contains one of the following holdability levels:

HOLD_CURSORS_OVER_COMMIT

CLOSE_CURSORS_AT_COMMIT

Exceptions

SQLServerException

Remarks

This getHoldability method is specified by the getHoldability method in the java.sql.Connection interface.

See Also

SQLServerConnection Members
SQLServerConnection Class