createSnapshot MethodStatic

Beta

Create an empty local iModel snapshot file. Snapshots are disconnected from iModelHub so do not have a change timeline. Snapshots are typically used for archival or data transfer purposes.

Note: A snapshot cannot be modified after IModelDb.closeSnapshot is called.

createSnapshot(snapshotFile: string, args: CreateIModelProps): IModelDb

Parameter Type Description
snapshotFile string The file that will contain the new iModel snapshot
args CreateIModelProps The parameters that define the new iModel snapshot

Defined in

Last Updated: 03 June, 2019