|
|
|
|
|
<Connection variable>.NoDatabaseAccess (Function) In french: <Variable Connexion>.InterditAccèsBaseDeDonnées
Available only with this kind of connection
Denies all new connections to a database or to all databases. Remarks: // Describe the connection MyConnection is Connection // Open the connection MyConnection.OpenConnection() IF MyConnection.NoDatabaseAccess("CustomerDatabase") THEN Info("Unable to connect to the database") END
Syntax
<Result> = <Connection>.NoDatabaseAccess([<Database>])
<Result>: Boolean - True if the access (which means the connection) to the specified database (or to all the databases accessed by the connection) is denied,
- False if an error occurs. HError is used to identify the error.
<Connection>: Connection variable Name of the Connection variable that describes the connection containing the database to which access must be denied. <Database>: Optional character string Name of the database for which the access must be denied. If this parameter is set to "*", the access will be denied for all the databases. If this parameter is not specified, the access will be denied for the databases used by <Connection>.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|