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  

Returns - IModelDb

Defined in

Last Updated: 13 June, 2024