다음을 통해 공유


SPDataSourceView.SelectCommand Property

Gets or sets a query that the SPDataSourceView object uses to select data.

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

Syntax

Public Property SelectCommand As String
    Get
    Set

Dim instance As SPDataSourceView
Dim value As String

value = instance.SelectCommand

instance.SelectCommand = value
public string SelectCommand { 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 SelectCommand property is used by the ExecuteSelect method to retrieve data from the underlying data source.

See Also

Reference

SPDataSourceView Class

SPDataSourceView Members

Microsoft.SharePoint.WebControls Namespace

SelectParameters