Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.23 KB

close-method-sqlserverconnection.md

File metadata and controls

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

close Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Releases this SQLServerConnection object's database and JDBC resources immediately instead of waiting for them to be automatically released.

Syntax

  
public void close()  

Exceptions

SQLServerException

Remarks

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

Calling the close method in the middle of a transaction causes the transaction to be rolled back.

See Also

SQLServerConnection Members
SQLServerConnection Class