close Method (SQLServerConnection)
Releases this SQLServerConnection object's database and JDBC resources immediately instead of waiting for them to be automatically released.
Syntax
public void close()
Exceptions
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
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