TimeLimitActive (Property)

Applies To:

QuerySection object, DataModel object

Description:

Enables the TimeLimit (Property).

Action:

Read-only, Boolean

Example:

This example shows how to enable the TimeLimitActive (Property), set the maximum time limit to process a query before timing out, and process the query:

ActiveDocument.Sections["Query"].DataModel.TimeLimitActive = true
ActiveDocument.Sections["Query"].DataModel.TimeLimit = 30
ActiveDocument.Sections["Query"].Process()