openSnapshot MethodStatic

Beta

Open a local iModel snapshot. Once created, snapshots are read-only and are typically used for archival or data transfer purposes.

openSnapshot(filePath: string): IModelDb

see IModelDb.open

see Snapshot iModels

throws IModelError If the file is not found or is not a valid snapshot.

Parameter Type Description
filePath string  

Defined in

Last Updated: 08 January, 2020