dms.UpdateStoredQuery
This job allows updating an existing stored query and/or its properties. The query must be passed in DMS query format. The query is converted to the internal format for stored queries. Since the format for stored queries only allows a subset of DMS query possibilities, there are certain limitations. See dms.ConvertQuery.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Flags must be 0 |
|
INT |
Yes |
ID of the query |
|
BASE64 |
No |
Query in DMSQuery XML format |
|
STRING |
No |
New name of the query, if the query should be renamed |
|
INT |
No |
ID of an icon that is displayed in the client. Default=0 |
|
INT |
No |
Action to be performed when opening the stored query. |
2. Return Value
(INT): 0 = Job successful, otherwise error code
Complete list of error codes
No job-specific return values.