API Reference > imodeljs-frontend > IModelConnection > SnapshotConnection > close close Method Close this SnapshotConnection. close(): Promise<void> note For local snapshot files, close closes the connection and the underlying SnapshotDb database file. For remote snapshots, close only closes the connection and frees any frontend resources allocated to the connection. see SnapshotConnection.openFile, SnapshotConnection.openRemote Returns - Promise<void> Defined in core/frontend/src/IModelConnection.ts Line 715 Last Updated: 11 June, 2024