Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.46 KB

isclosed-method-sqlserverconnection.md

File metadata and controls

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

isClosed Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Indicates whether this SQLServerConnection object has been closed.

Syntax

  
public boolean isClosed()  

Return Value

true if the connection is close, false if it is not.

Exceptions

SQLServerException

Remarks

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

Verifies the state of the called SQLServerConnection object. A connection is closed if the close method has been called on it, or if certain fatal errors have occurred. This method will return true only when it is called after the close method has been called.

See Also

SQLServerConnection Members
SQLServerConnection Class