CloseConnection
Closes an open connection to the Lookup database.
Syntax
bool CloseConnection ()Parameters
None.Returns
True, even if the connection is already closed.Level
All, but generally used as part of a separate RuleSet at the Batch level.Details
Closes an open connection to your Lookup database.Usually, this action is placed in a RuleSet that is separate from the RuleSet that opens the connection and stores the data.
LookupDBClose RuleSet, for example, is run at the Batch level after all data has been exported from the batch to the specified database.
- Example:
CloseConnection()This action closes the previously opened connection to the Lookup database. This action is usually part of a separate RuleSet that prevents the need to repeatedly open the connection to the database. You can open the connection once in the first RuleSet, use the database from all documents and pages in the batch, then close the connection once in the second RuleSet.