importSchema Method

Import a schema.

If the import was successful, the database is automatically saved to disk.

importSchema(pathName: string): void

throws IModelError if the database is not open or if the operation failed.

Parameter Type Description
pathName string Path to ECSchema XML file to import.

Defined in

Last Updated: 08 January, 2020