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
- web
Type: Microsoft.SharePoint.SPWeb
Target SPWeb object to get cache data from.
- query
Type: Microsoft.SharePoint.SPSiteDataQuery
SPSiteDataQuery object that is used to get data.
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.