CreateRoom method

Creates a new eRoom.

Syntax


C++

HRESULT CreateRoom (
   BSTR URLName,

   BSTR DisplayName,

   IERURoom* pSourceRoom

   IERURoom** ppRoom)

Scripting languages

Set Room = Object.CreateRoom (
   URLName as String,

   DisplayName as String,

   pSourceRoom as IERURoom)

Parameters


URLName

The shortened version of the eRoom name that appears in its URL. See the URLName property.

DisplayName

The descriptive name that appears at the top of the eRoom. See the DisplayName property.

pSourceRoom

A pointer to an existing eRoom to copy. If NULL (C++) or NOTHING (scripting languages), the method creates a blank eRoom.

ppRoom

Upon return, An IERURoom interface pointer to the newly-created Room.

Return value


C++

The return code.

Scripting languages

An IERURoom interface pointer to the newly-created Room.

Remarks


The logged-in User is made a coordinator of the eRoom. If running as the built-in site admin user, no coordinator is added. The coordinator can be removed, if desired, by calling IERURoom::RemoveMember

The newly-created room has all the default project status: traffic light (default green), Status, Status Report, and Other (All three text fields are blank by default).

Home

Applies to

IERUFacility


See also

Creating eRooms