다음을 통해 공유


CrossListQueryCache.GetSiteData Method (SPWeb, SPSiteDataQuery)

Gets the data by 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

Return Value

Type: System.Data.DataTable
The data that is retrieved by using the specified SPSiteDataQuery object.

Remarks

The Collaborative Application Markup Language (CAML) of the CrossListQueryInfo property is ignored when this method is called.

See Also

Reference

CrossListQueryCache Class

CrossListQueryCache Members

GetSiteData Overload

Microsoft.SharePoint.Publishing Namespace

CrossListQueryCache