ContentByQueryWebPart.QueryScope enumeration

Specifies the source scope of the query.

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

Syntax

'Declaration
Public Enumeration QueryScope
'Usage
Dim instance As ContentByQueryWebPart.QueryScope
public enum QueryScope

Members

Member name Description
List Limits the scope to the specified list.
WebAndBelow Limits the scope to the specified Web site and any child sites.
SiteCollection Limits the scope to the specified site collection.

See also

Reference

Microsoft.SharePoint.Publishing.WebControls namespace