QuerySetStatus
Sets the Task status for the SQL query.
Member of namespace
Maintenance ManagerSyntax
bool QuerySetStatus (string status)
Parameters
- status
- Type: string
Parameters
status: The batch status: aborted, cancelled, finished, hold, job done, pending, running. Smart parameters are supported.Returns
True if the query has been successfully set. It does not mean the query has been performed. Otherwise, False.Level
Any level.Details
Selects all of the batches that match the specified status.To find multiple values, separate them with commas. An exclamation point can be prefixed to the value to find all values except the ones specified.
- Example:
QuerySetStatus("finished") ProcessRunSqlQuery("")