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
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 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.2
.NET 6.0100.14 - 200.2
.NET 6.0 Windows100.14 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.14 - 200.2
Android100.14 - 100.15
iOS100.14 - 100.15
UWP100.14 - 200.2
In This Article
Back to top Copyright © 2022 Esri.