SPDataSource.DeleteCommand property

Gets or sets a query that is used to delete data.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string DeleteCommand { get; set; }

Property value

Type: System.String
A System.String object that contains a query expressed as a Collaborative Application Markup Language (CAML) fragment.

The query string in the DeleteCommand property is used by the associated SPDataSourceView object to delete data.