CrossListQueryCache.GetSiteData Method (SPSite, String)
Gets the cache data from the specified site and from the specified webUrl.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function GetSiteData ( _
site As SPSite, _
webUrl As String _
) As DataTable
'Usage
Dim instance As CrossListQueryCache
Dim site As SPSite
Dim webUrl As String
Dim returnValue As DataTable
returnValue = instance.GetSiteData(site, _
webUrl)
public DataTable GetSiteData(
SPSite site,
string webUrl
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe SPSite from which data is retrieved.
webUrl
Type: System.StringThe webUrl of the web site to retrieve the data from.
Return Value
Type: System.Data.DataTable
The cache data that is retrieved from the webUrl of the SPSite object.
Remarks
When this method is called, the webUrl of the CrossListQueryInfo property is ignored.