Facilities property

Returns an IERUCollection interface pointer to the Facilities on a server.

Syntax


C++

HRESULT get_Facilities(IERUCollection** pFacilities)

Scripting languages

Set FacilityCollection = object.Facilities

Remarks


Facilities returns a collection of IERUFacility interface pointers to individual Facilities.

Note that getting the Facilities property can be a potentially time/memory intensive operation.  Consider using the SiteFacilities property which returns IERUSiteFacility objects which don’t require the underlying facility storage and caches to be loaded. This can be a great performance win if simply determining facility names or URLs. Use IERUSiteFacility::GetFacility() method to get the IERUFacility as needed. The performance gain will be more evident when running code outside of the IIS process as storage caches are per-process.

Home

Applies to

IERUeRoomServer