Compartilhar via


SPDataSource.UpdateCommand Property

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

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UpdateCommand As String
    Get
    Set
'Usage
Dim instance As SPDataSource
Dim value As String

value = instance.UpdateCommand

instance.UpdateCommand = value
public string UpdateCommand { get; set; }

Property Value

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

Remarks

The query string in the UpdateCommand property is used by the associated SPDataSourceView object to update data.

See Also

Reference

SPDataSource Class

SPDataSource Members

Microsoft.SharePoint.WebControls Namespace

UpdateParameters

ExecuteUpdate(IDictionary, IDictionary, IDictionary)