Show / Hide Table of Contents

Method DeleteDomainAsync

DeleteDomainAsync(String)

Deletes the domain with the specified name from the geodatabase.

Declaration
public Task DeleteDomainAsync(string domainName)
Parameters
Type Name Description
String domainName

The name of the domain to delete.

Returns
Type Description
Task

A task representing the asynchronous operation.

Remarks

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

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 100.15
.NET 6.0100.14 - 100.15
.NET 6.0 Windows100.14 - 100.15
.NET Framework100.14 - 100.15
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 100.15
In This Article
Back to top Copyright © 2022 Esri.