Retrieving a Site's COM Interface by Site Number (Item)

Use the ICISites interface Item method and an integer to retrieve the ICISite interface for a specific Site.

Example:

Item(

[in] VARIANT* Index,

[out, retval] ICISite** prop);

 

The Index value must be between 0 and (Count-1).

Example:

Set Sites = Server.Sites 'Retrieve list of sites

Set Site = Sites.Item(0) 'Instantiate the first one