Try OpenEdge Now
skip to main content
Programming Interfaces
Database Administration Entity Interface Reference : IDataAdminElement interface : IDataAdminElement methods
 

IDataAdminElement methods

Defines the methods listed in the following table.
Table 89. 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 cFilename2
VOID ExportTree ( cFilename AS CHARACTER )
Export entity data with all child collections to the file specified by cFilename.3
VOID ExportTree (
  cFilename AS CHARACTER ,
  pcCollections AS CHARACTER )
Export entity data with specified child collections to the file specified by cFilename.4
VOID Import ( cFilename AS CHARACTER )
Import entity data from the file specified by cFilename. (The file must exist.)5
VOID ImportTree ( cFilename AS CHARACTER )
Import entity data, including child collections, from file specified by cFilename. (The top-level entity must exist.)6

1 Currently supports JSON (.json) files only.

2 Currently supports JSON (.json) files only.

3 Currently supports JSON (.json) files only, except for the ITenant and ITenantGroup sub-interfaces, which also support the generation of ABL procedure (.p) files.

4 Currently supports JSON (.json) files only, except for the ITenant and ITenantGroup sub-interfaces, which also support the generation of ABL procedure (.p) files.

5 Currently supports JSON (.json) files only.

6 Currently supports JSON (.json) files only.