GetQueryScopeByName method: UTILITY class
Syntax
GetQueryScopeByName(QryName)
Description
Use this method to check whether the specified query has a public or private scope.
Parameters
| Parameter | Description |
|---|---|
|
QryName |
Specifies the query name as a string. |
Returns
A number:
-
0 — Private query.
-
1 — Public query.
-
2 — Query not found.