Share via


CrossListQueryCache.GetSiteData Method (SPWeb, SPSiteDataQuery)

Gets the cache data using the specified SPSiteDataQuery object.

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

Syntax

'Declaration
Public Function GetSiteData ( _
    web As SPWeb, _
    query As SPSiteDataQuery _
) As DataTable
'Usage
Dim instance As CrossListQueryCache
Dim web As SPWeb
Dim query As SPSiteDataQuery
Dim returnValue As DataTable

returnValue = instance.GetSiteData(web, _
    query)
public DataTable GetSiteData(
    SPWeb web,
    SPSiteDataQuery query
)

Parameters

Return Value

Type: System.Data.DataTable
Cache data that is retrieved using the specified SPSiteDataQuery object.

Remarks

The Collaborative Application Markup Language (CAML) of the CrossListQueryInfo property is ignored when this method is called.

See Also

Reference

CrossListQueryCache Class

CrossListQueryCache Members

GetSiteData Overload

Microsoft.SharePoint.Publishing Namespace

CrossListQueryCache