Import an ECSchema. On success, the schema definition is stored in the iModel. This method is asynchronous (must be awaited) because, in the case where this IModelId is a briefcase, this method must first obtain the schema lock from the IModel server. You must import a schema into an iModel before you can insert instances of the classes in that schema. See Element
throws IModelError if the schema lock cannot be obtained.
|requestContext||ClientRequestContext | AuthorizedClientRequestContext||The client request context|
|schemaFileName||string||Full path to an ECSchema.xml file that is to be imported.|
Last Updated: 03 June, 2019