Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CrossListQueryInfo class

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

System.Object
  Microsoft.SharePoint.Publishing.CrossListQueryInfo

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class CrossListQueryInfo

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.