I need to use API to return all Publishing pages using a specific content type in a publishing site. this includes querying all sites in the site collection. Can I do that with SPQuery?
I am using SharePoint 2010 / Visual Studio 2010
|
I need to use API to return all Publishing pages using a specific content type in a publishing site. this includes querying all sites in the site collection. Can I do that with SPQuery? I am using SharePoint 2010 / Visual Studio 2010 |
||||
|
|
|
You have to use SiteDataQuery as replied by Thomson above.
|
|||
|
|