querySchemaVersionNumbers Method

Query the version of a schema of the specified name in this iModel.

querySchemaVersionNumbers(schemaName: string): ECVersion | undefined

@returns the version numbers, or undefined if the schema has not been imported.

Parameter Type Description
schemaName string  

Returns - ECVersion | undefined

the version numbers, or undefined if the schema has not been imported.

Defined in

Last Updated: 07 May, 2026