Show / Hide Table of Contents

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
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the asynchronous operation. If there is no error, the table was deleted successfully.

Remarks

Deleting tables is only supported in mobile geodatabases created in ArcGIS Pro or using CreateAsync(String)). Attempting further use of a deleted table, such as rendering it in a feature layer or querying it, may result in errors.

See Also
CreateTableAsync(TableDescription)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.