共用方式為


SPSiteDataQuery Members

Include Protected Members
Include Inherited Members

Represents a query that can be performed across multiple lists in multiple Web sites in the same Web site collection.

The SPSiteDataQuery type exposes the following members.

Constructors

  Name Description
Public method SPSiteDataQuery Initializes a new instance of the SPSiteDataQuery class.

Top

Properties

  Name Description
Public property Lists Gets or sets the inner XML that specifies which lists to include in the query.
Public property Query Gets or sets the inner XML that defines the query.
Public property QueryThrottleMode Gets or sets a value that indicates the throttling mode to be applied to the query.
Public property RowLimit Gets or sets a limit for the number of items in the query that are returned per page.
Public property ViewFields Gets or sets the inner XML that specifies the view fields used in the query.
Public property Webs Gets or sets the inner XML that specifies which Web sites to include in the query. as specified by the Scope attribute on the Webs tag in the query. By default, the query considers the current Web site, that is, the Web site from which the

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPSiteDataQuery Class

Microsoft.SharePoint Namespace