Syntax
int PCMSNumRegions(PCMServerID serv)
Parameters
PCMServerID serv – The PC*MILER server ID.
Description
Gets the number of regions in the active data set.
Return Values
Returns the number of regions.
Sample Code
int nRegions = PCMSNumRegions(server); for (int iRegion = 0; iRegion < nRegions; ++iRegion) { PCMSGetRegionName(server, iRegion, buf, BUFLEN); printf(" %d) %s", iRegion, buf); }
Supported Since: PC*MILER Connect 15
Category: Administration