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 |
|---|---|
| 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 - 100.15 |
| .NET 6.0 | 100.14 - 100.15 |
| .NET 6.0 Windows | 100.14 - 100.15 |
| .NET Framework | 100.14 - 100.15 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 - 100.15 |