Method DeleteTableAsync
DeleteTableAsync(String)
Deletes an existing table from the geodatabase.
Declaration
public async Task DeleteTableAsync(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | The name of the table to delete. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. If there is no error, the table was deleted successfully. |
Remarks
Deleting tables is only supported in mobile geodatabases (either created in Pro or via CreateAsync(String)). A table with the specified name must exist in the geodatabase. Attempting further use of a deleted table, such as rendering it in a feature layer or querying it, may result in errors.
See Also
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 |