Method DeleteDomainAsync
DeleteDomainAsync(String)
Deletes the domain with the specified name from the geodatabase.
Declaration
public Task DeleteDomainAsync(string domainName)
Parameters
Type | Name | Description |
---|---|---|
System.String | domainName | The name of the domain to delete. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |