isClosed Method (SQLServerConnection)
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for