CreateFacilityProvisioned method

Creates a facility in the community using a provisioning group.

Syntax


C++
HRESULT CreateFacilityProvisioned(
   BSTR URLName,
   BSTR DisplayName,
   IERUProvisioningGroup* ProvGroup,
   LONG
CreateOptions,
   IERUSiteFacility**
ppSiteFacility)
Scripting languages
Set SiteFacility.CreateFacilityProvisioned(
   URLName as String,
   DisplayName as String,
   ProvGroup as IERUProvisioningGroup,
   
CreateOptions as LONG)

Parameters


URLName

The URL name for the new facility.

DisplayName

The display name for the new facility.

ProvGroup

The Provisioning Group for the new facility.

CreateOptions

One or more create options chosen from the enum ERUCreateOptions, logically OR'ed together. Valid create options for this method are erCreateOptNone and erCreateOptCreateSampleData. [optional, default = erCreateOptNone]

ppSiteFacility

Upon return, an IERUSiteFacility interface pointer to the new facility.

Return value


C++

The return code.

Scripting languages

Upon return, an IERUSiteFacility interface pointer to the new facility.


Home

Applies to

IERUCommunity