|
int ServerHierarchy::FindSlaveServers |
( |
wstring |
wstrFilter, |
|
|
array |
pFieldsToReturn, |
|
|
array |
pFieldsToOrder, |
|
|
params |
pParams, |
|
|
int |
lMaxLifeTime, |
|
|
[out] wstring |
wstrIterator |
|
) |
| |
Searches for secondary servers meeting specified criteria.
- Parameters:
-
| wstrFilter | filter string, see search filter syntax. Following search fields are supported:
- "KLSRVH_SRV_GROUPID_GP" (paramInt) - parent group id
- "KLHST_WKS_CREATED" (paramDateTime) - time of host record creation.
As well as following secondary server attributes:
- "KLSRVH_SRV_ID"
- "KLSRVH_SRV_DN"
- "KLSRVH_SRV_GROUPID"
- "KLSRVH_SRV_STATUS"
|
| pFieldsToReturn | names of attributes to return. Following attributes are supported:
- "name" (paramString) - administration group name where the secondary Administration Server is located
- "KLHST_WKS_CREATED" (paramDateTime) - time of host record creation
As well as following secondary server attributes:
- "KLSRVH_SRV_ID"
- "KLSRVH_SRV_DN"
- "KLSRVH_SRV_GROUPID"
- "KLSRVH_SRV_STATUS"
|
| pFieldsToOrder | names of columns to sort by, must be a subset of pFieldsToReturn parameter |
| lMaxLifeTime | max lifetime of accessor (sec) |
| pParams | reserved for future use, use empty paramParams container |
[out] | wstrIterator | result-set id, use ChunkAccessor interface to iterate over found secondary server parameters |
- Returns:
- number of records found
|