Import method

This method is implemented by the following interfaces. Click one of the links below to jump to the description of the method as it pertains to that interface.

IERUDatabase
IERUProjectSchedule

 

 

Import method

Imports the contents of the specified file to the database.

Syntax


C++

HRESULT Import(
   BSTR ExportPath,
   LONG ImportFlags,
   IERUItem** ppRetVal)

Scripting languages

Set Facility = Item.Import(
   ExportPath as String,
   ImportFlags as Long)

Parameters


ExportPath

The pathname of the exported facility.

ImportFlags

Currently unused parameter intended for future expansion; must be zero[optional, default=0].

ppItem

Upon return, an IERUItem interface pointer to the imported Database item.

Return value


C++

The return code.

Scripting languages

An IERUItem interface pointer to the imported Database item.

Home

Applies to

IERUDatabase

 

Go to Top
 

Import method

Imports a project schedule.

Syntax


C++

HRESULT Import (
   BSTR ImportFile,
   
ERUImportFlag Options)

Scripting languages

Set Import = Object.Import (
   ImportFile as BSTR,
   Options as ERUImportFlag)

Parameters


ImportFile

The file specification (string) of the project export file to be imported.

Options

Import options, as one or more values from the ERUImportFlag enumeration.

Return value


C++

The return code.

Scripting languages

None.

Go to Top

Home

Applies to

IERUProjectSchedule