Possible values of the Scope attribute for SPSiteDataQuery class
<Webs Scope="Recursive" />
<Webs Scope="SiteCollection" />
When the Scope attribute is set to Recursive, the query considers the current Web site and all subsites of the current Web site.
When the Scope attribute is set to SiteCollection, the query considers all Web sites that are in the same site collection as the current Web site. Of the two attribute values, this is the more inclusive.
Comments
Post a Comment