ArcGIS Pro 2.6 API Reference Guide
DeleteRows Method

ArcGIS.Core.Data Namespace > Table Class : DeleteRows Method
The specified query used to delete the rows in the database.
Deletes the rows in the database selected by the specified query. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void DeleteRows( 
   QueryFilter queryFilter
)
Public Sub DeleteRows( _
   ByVal queryFilter As QueryFilter _
) 

Parameters

queryFilter
The specified query used to delete the rows in the database.
Exceptions
ExceptionDescription
queryFilter is null.
This table/feature class does not support this operation. For example, it is a joined table.
A geodatabase-related exception has occurred.
Remarks
If queryFilter is a default filter, i.e., without any of its properties set, then all of the rows in this table will be deleted.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Table Class
Table Members