Alters an existing domain in the workspace.
[Visual Basic .NET] Public Sub AlterDomainWithName ( _ ByVal Domain As IDomain, _ ByVal oldDomainName As String _ )
[C#] public void AlterDomainWithName ( IDomain Domain, string oldDomainName );
[C++]
HRESULT AlterDomainWithName(
IDomain* Domain,
BSTR oldDomainName
);
[C++]Parameters
Domain [in]Domain is a parameter of type IDomain
oldDomainName [in] oldDomainName is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The AlterDomainWithName method takes as input a Domain object whose Name property is set to the new name and the old domain name. The old domain name is used to reference to the domain that will be renamed. All references to the Domain will be updated to use the new name, it is not neccessary to account for this.