This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceDomains2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that allow you to alter a domain.
Description | ||
---|---|---|
AddDomain | Adds the given domain to the workspace. | |
AlterDomain | Alters an existing domain in the workspace. | |
CanDeleteDomain | Indicates if the user can delete the domain. | |
DeleteDomain | Deletes the given domain from the workspace. | |
DomainByName | The domain with the given name from the workspace. | |
Domains | All the domains in the workspace. | |
DomainsByFieldType | The domain with the given name from the workspace. |
Interfaces | Description |
---|---|
IWorkspaceDomains | Provides access to members that return information about domains and allows you to add or delete domains. |
CoClasses and Classes | Description |
---|---|
Sde4Workspace (esriDataSourcesGDB) | Esri SDE (4.x) Feature Database. |
VersionedWorkspace | VersionedWorkspace Object. |
Workspace | Workspace Object. |
The IWorkspaceDomains2 interface was added to enable users to modify an existing domain. Without this interface, in order to modify an existing domain, it would first be necessary to disassociate it with all fields, delete the domain, create a new (and modified) domain, and reassociate it with the appropriate fields.