deleteDomain

suspend fun deleteDomain(domainName: String): Result<Unit>

Deletes the domain with the specified name from the geodatabase. Deleting domains is only supported in mobile geodatabases (either created in Pro or via Geodatabase.create). The domain with the specified name must exist in the geodatabase. The domain must not be in use by any fields in existing tables.

Return

A Result with no return value. If there is no error, the domain was deleted successfully.

Since

200.1.0

Parameters

domainName

The name of the domain to delete.