This document is archived and information here might be outdated.  Recommended version.


IWorkspaceDomains3 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceDomains3 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceDomains3 Interface

Provides access to members that allow you to alter a domain.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method AddDomain Adds the given domain to the workspace.
Method AlterDomain Alters an existing domain in the workspace.
Method AlterDomainWithName Alters an existing domain in the workspace.
Read-only property CanDeleteDomain Indicates if the user can delete the domain.
Method DeleteDomain Deletes the given domain from the workspace.
Read-only property DomainByName The domain with the given name from the workspace.
Read-only property Domains All the domains in the workspace.
Read-only property DomainsByFieldType The domain with the given name from the workspace.

Inherited Interfaces

Interfaces Description
IWorkspaceDomains2 Provides access to members that allow you to alter a domain.
IWorkspaceDomains Provides access to members that return information about domains and allows you to add or delete domains.

CoClasses that implement IWorkspaceDomains3

CoClasses and Classes Description
VersionedWorkspace VersionedWorkspace Object.
Workspace Workspace Object.

Remarks

The IWorkspaceDomains3 interface was added to enable users to rename existing domains. Without this interface, in order to rename an existing domain, it would first be necessary to disassociate it with all fields, delete the domain, create a new domain with the new name and reassociate it with the appropriate fields. Note that a schema locks is recommended when renaming a domain.