getInitializationState Method
Get the InitializationState for the specified iModel. See iModel creation.
getInitializationState(requestContext: AuthorizedClientRequestContext, contextId: string): Promise<InitializationState>
throws IModelHubError with [IModelHubStatus.iModelDoesNotExist]$(bentley) if iModel does not exist.
throws IModelHubError with IModelHubStatus.FileDoesNotExist if the seed file was not found.
throws Common iModelHub errors
Parameter | Type | Description |
---|---|---|
requestContext | AuthorizedClientRequestContext | The client request context. |
contextId | string | Id for the iModel's context. For iModelHub it should be the id of the connect context (Project or Asset). |
Returns - State of the seed file initialization.
Defined in
Last Updated: 05 June, 2020