open MethodStatic

Deprecated  use openRemote

Open a CheckpointConnection to a checkpoint of an iModel.

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

note this function will be removed in a future release to remove the openMode argument. All CheckpointConnections must be readonly. If you're using a writeable connection, your application must use IpcApp/IpcHost and BriefcaseConnection.

Parameter Type Description
contextId string  
iModelId string  
openMode OpenMode  
version IModelVersion  

Returns - Promise<CheckpointConnection>

Defined in

Last Updated: 11 June, 2024