Partilhar via


CrossListQueryInfo.UseCache Property

Gets or sets a value that indicates whether or not cache should be used.

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

Syntax

'Declaration
Public Property UseCache As Boolean
    Get
    Set
'Usage
Dim instance As CrossListQueryInfo
Dim value As Boolean

value = instance.UseCache

instance.UseCache = value
public bool UseCache { get; set; }

Property Value

Type: System.Boolean

Remarks

If the cached items are checked out to the current user, those items are not returned as part of the result set.

See Also

Reference

CrossListQueryInfo Class

CrossListQueryInfo Members

Microsoft.SharePoint.Publishing Namespace

CrossListQueryInfo

Lists

Query

RowLimit

ShowUntargetedItems

[P:Microsoft.SharePoint.Publishing.CrossListQueryInfo.ViewFieldsP:Microsoft.SharePoint.Publishing.CrossListQueryInfo.Webs]

WebUrl