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.SPSite
SPSite from which data is retrieved.
- webUrl
Type: System.String
webUrl to retrieve the data from.
Return Value
Type: System.Data.DataTable
Cache data that is retrieved from the webUrl of the SPSite object.
Remarks
When this method is called, the webUrlof the CrossListQueryInfo property is ignored.