getCatalog Method (SQLServerConnection)
Retrieves the current catalog name of this SQLServerConnection object.
Syntax
public java.lang.String getCatalog()
Return Value
A String that contains the catalog name.
Exceptions
Remarks
This getCatalog method is specified by the getCatalog method in the java.sql.Connection interface.
Returns the current catalog property of the SQLServerConnection object, or null if it is not set. The catalog property is set explicitly with the setCatalog method, or is implicitly updated by reading the environment change on TDS for the current catalog.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor