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

  • webUrl
    Type: System.String

    The 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.

See Also

Reference

CrossListQueryCache Class

CrossListQueryCache Members

GetSiteData Overload

Microsoft.SharePoint.Publishing Namespace

CrossListQueryCache