CrossListQueryInfo Class
Contains data about how to perform an SPCrossListQuery 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 instantiate a new CrossListQueryCache instance. The CrossListQueryCache uses the CrossListQueryInfo 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 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.