IDataAdminElement methods

Defines the methods listed in the following table.

Table 1. Multi-tenant Maintenance IDataAdminElement interface methods
Method syntax Description
VOID Export( )
Exports the entity data to a JSON file named for the sub-interface entity, for example, area.json or tenant.json for an IArea or ITenant object, respectively.1
VOID Export ( cFilename AS CHARACTER )
Export entity data to the file specified by cFilename1
VOID ExportTree ( cFilename AS CHARACTER )
Export entity data with all child collections to the file specified by cFilename.2
VOID ExportTree ( 
  cFilename AS CHARACTER ,
  pcCollections AS CHARACTER )
Export entity data with specified child collections to the file specified by cFilename.2
VOID Import ( cFilename AS CHARACTER )
Import entity data from the file specified by cFilename. (The file must exist.)1
VOID ImportTree ( cFilename AS CHARACTER )
Import entity data, including child collections, from file specified by cFilename. (The top-level entity must exist.)1
1 Currently supports JSON (.json) files only.
2 Currently supports JSON (.json) files only, except for the ITenant and ITenantGroup sub-interfaces, which also support the generation of ABL procedure (.p) files.