CrossListQueryInfo class

Contains data about how to perform a query using a SPCrossListQuery object with audience targeting.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.CrossListQueryInfo

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class CrossListQueryInfo
'Usage
Dim instance As CrossListQueryInfo
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class CrossListQueryInfo

Remarks

Use the CrossListQueryInfo to create a new instance of CrossListQueryInfo. The CrossListQueryInfo object uses the CrossListQueryInfo object to get the cached results or, if there are no cached results available, it performs a cross-list query to the database and then caches the results for future use. Audience targeting is then applied to the result set, depending on the setting specified in the CrossListQueryInfo object. You can use the CbqQueryCache object to obtain a CrossListQueryInfo object for a specific Content by Query Web Part.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

CrossListQueryInfo members

Microsoft.SharePoint.Publishing namespace

SPSiteDataQuery

CbqQueryVersionInfo

CbqQueryCache

CrossListQueryCache