Share via


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

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.

See Also

Reference

CrossListQueryCache Class

CrossListQueryCache Members

GetSiteData Overload

Microsoft.SharePoint.Publishing Namespace

CrossListQueryCache