
Use the ICISite interface SetRootFolder method to designate the root folder for an individual site. If the site has to be restarted for the change to take effect, the SetRootFolder method will return TRUE.
Signature:
HRESULT SetRootFolder(
[in] BSTR newVal,
[out, retval] VARIANT_BOOL *pNeedRestart);