Get a list items across sites

Feb 8, 2012 at 7:50 PM
Edited Feb 8, 2012 at 7:54 PM

Any other operation like GetListItems but it gets a list items of the same name across different subsites? More like this

SPSiteDataQuery spSiteQuery = new SPSiteDataQuery
Query = query,
Lists = string.Format(ListTemplate, ServerTemplateId),
Webs = "<Webs Scope='SiteCollection'>",
ViewFields = NewsViewFields,
RowLimit = (uint)ItemLimit

if not, how can I use SPservices to achieve the same goal?

Feb 10, 2012 at 1:42 AM
Here's a blog post that gives one approach: