Share via


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.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class CrossListQueryInfo
'Usage
Dim instance As CrossListQueryInfo
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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