open MethodStatic

Open an IModelConnection to an iModel. It's recommended that every open call be matched with a corresponding call to close.

open(contextId: string, iModelId: string, openMode: OpenMode = OpenMode.Readonly, version: IModelVersion = IModelVersion.latest()): Promise<IModelConnection>

Parameter Type Description
contextId string  
iModelId string  
openMode OpenMode  
version IModelVersion  

Defined in

Last Updated: 03 June, 2019