close Method

Close this iModel, if it is currently open.

close(requestContext: AuthorizedClientRequestContext, keepBriefcase: KeepBriefcase = KeepBriefcase.Yes): Promise<void>

throws IModelError if the iModel is not open, or is really a snapshot iModel

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context.
keepBriefcase KeepBriefcase Hint to discard or keep the briefcase for potential future use.

Defined in

Last Updated: 03 June, 2019