I was looking for an
option to query SharePoint list in SharePoint 2013 and found a very useful article
from MS.
How to use SPQuery to query a list in SharePoint
Server 2013: http://support.microsoft.com/kb/2755129.
This article articulates
about the PowerShell commands and C# code which you can use to query the
SharePoint lists in SharePoint 2013 and this commands can also be used in
SharePoint 2010.
However, if you need
to run this in SharePoint 2007 then you need to take help of the SharePoint
2007 Object model.
Please share your views
in the comment section.
Also a good reference: http://sharepointfordeveloper.blogspot.co.uk/2012/04/sharepoint-2010-spquery-spsitedataquery.html
Also a good reference: http://sharepointfordeveloper.blogspot.co.uk/2012/04/sharepoint-2010-spquery-spsitedataquery.html
Applies to: SharePoint 2010, SharePoint 2013.
No comments:
Post a Comment