SPDataSourceView.DeleteCommand property
Gets or sets a query that the SPDataSourceView object uses to delete data.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Property DeleteCommand As String
Get
Set
'Usage
Dim instance As SPDataSourceView
Dim value As String
value = instance.DeleteCommand
instance.DeleteCommand = value
public string DeleteCommand { get; set; }
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 ExecuteDelete method to delete data represented by the SPDataSourceView object.
Microsoft.SharePoint.WebControls namespace