다음을 통해 공유


isClosed Method (SQLServerConnection)

Indicates whether this SQLServerConnection object has been closed.

public boolean isClosed()

반환 값

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

예외

SQLServerException

주의

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.

참고

참조

SQLServerConnection Class

개념

SQLServerConnection Methods
SQLServerConnection Members