MoveFacility method

Moves a facility to the current community.

The facility getting passed to the method must be a SiteFacility, otherwise the following error is thrown:

execution error ''-2147024809 (80070057)'':

eRoom could not perform this operation. Invalid arguments were passed to a method or function call.

Syntax


C++

HRESULT MoveFacility(
   VARIANT Facility,

   VARIANT Reserved)

Scripting languages
Object.MoveFacility(
   Facility as Variant,
   Reserved as Variant)

Parameters


Facility

The Facility you want to move into the current community.

Reserved

This parameter is reserved for future use and at present should be omitted.

Return value


C++

The return code.

Scripting languages

None.

 

Home

Applies to
IERUCommunity