Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.44 KB

setholdability-method-sqlserverconnection.md

File metadata and controls

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

setHoldability Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Changes the holdability of SQLServerResultSet objects that are created by using this SQLServerSavepoint object to the given holdability.

Syntax

  
public void setHoldability(int nNewHold)  

Parameters

nNewHold

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

HOLD_CURSORS_OVER_COMMIT

CLOSE_CURSORS_AT_COMMIT

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class