isValid Method (SQLServerConnection)
Indicates whether this SQLServerConnection object has not been closed and is still valid.
Syntax
public boolean isValid(int timeout)
Parameters
timeout
An int that specifies the number of seconds to wait for validating the connection.
Return Value
true if the connection is valid; false if the connection is not valid or the validity of the connection cannot be determined before the timeout expires.
Exceptions
Remarks
This isValid method is specified by the isValid method in the java.sql.Connection interface.
See Also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tokom 2024. godine postepeno ćemo ukidati probleme sa uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zameniti ga novim sistemom povratnih informacija. Dodatne informacije potražite u članku:Prosledite i prikažite povratne informacije za