ExportCloseConnection

Closes an open connection to your Export database.

Syntax

bool ExportCloseConnection ()

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 the previously opened Export database.

Usually, this action is placed in a RuleSet that is separate from the RuleSet that opens the connection and stores the data.

For example this action could be placed into a RuleSet called ExportDBClose, and attached to a batch level close event which executes after all data has been exported from the batch to the specified database.

Example:
ExportCloseConnection()   

This action closes the previously opened connection to the Export database.

This action is usually part of a separate RuleSet that prevents the need to repeatedly open the connection to the Export database. (You can open the connection once in the first RuleSet, export data from all documents and pages in the batch, then close the connection once in the second RuleSet.)