Share via


SPDataSourceMode Enumeration

Used to specify the type of data that a data-bound Windows SharePoint Services control should query.

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

Syntax

Public Enumeration SPDataSourceMode

Dim instance As SPDataSourceMode
public enum SPDataSourceMode

Members

Member name Description
List Query items in a single list. Multiple rows of list data are returned. Each row represents a list item. This mode is similar to using an instance of the SPQuery class against a list.
ListOfLists Query property values of all lists in a Web site. Multiple rows of data are returned. Each row represents a list.
CrossList Query items in multiple lists in multiple Web sites in the same site collection. Multiple rows of list data are returned. Each row represents a list item. This mode is similar to using an instance of the SPSiteDataQuery class against lists in a site collection.
Webs Query property values of all subsites of a specified Web site. Multiple rows of data are returned. Each row represents a Web site.
ListItem Query field values in a list item. A single row of list data is returned. The row represents a single list item.

See Also

Reference

Microsoft.SharePoint.WebControls Namespace

SPSiteDataQuery