create Domain
Creates a new domain in the geodatabase. You can create a new domain in a mobile geodatabase that was created in ArcGIS Pro or using Geodatabase.create. The domain description can be a CodedValueDomainDescription or a RangeDomainDescription.
In terms of the domain description, the DomainDescription.name must not exist in the geodatabase and DomainDescription.fieldType must be valid. See DomainDescription, for additional constraints.
Return
A Result containing the Domain that was created in the geodatabase.
Since
200.1.0
Parameters
domain Description
The description of the domain to create.