Purpose | Provides a hook into dbANYWHERE's logon failure handler. |
---|---|
Description | Logon provides a hook into dbANYWHERE's logon failure handler. |
Syntax | public interface Logon
|
Purpose | Indicates that a database logon attempt failed. |
---|---|
Syntax | public abstract boolean logonFailed(ConnectionInfo conn,
|
Parameters | conn = Connection information.
retries = The number of retries allowed for a database logon. |
Description | Indicates that a database logon attempt failed. Visual CafÄ Pro invokes this method only if the object implementing the Logon interface registered itself with the Session's LogonHandler. logonFailed lets the user change the user name and/or password. |
Return values | True = The user changed the user name and/or password.
False = The user canceled the operation. |
See also | SQL exceptions |
Copyright © 1996 Symantec Corporation. All rights reserved.