Retrieving the Number of Sites (Count)

Use the ICISites interface Count method to retrieve the number of Sites you have in the Server.

Signature:

HRESULT Count([out, retval] long* prop);