Showing posts with label SPSiteDataQuery. Show all posts
Showing posts with label SPSiteDataQuery. Show all posts

Wednesday, February 17, 2016

17 Feb

How to show announcements from a different site collection?

 string username = SPContext.Current.Web.CurrentUser.Name;            if (username != null)            {                SPSecurity.RunWithElevatedPrivileges(delegate()             ...

Friday, January 23, 2015

23 Jan

SiteDataQuery and SPQuery Interview questions?

SPquery resuable workflow What are SPQuery and SPSiteDataQuery? SPSiteDataQuery properties? Difference between SPQuery and SPSiteDataQuery? What are the limitations of both? How the SPQuery and SPSiteDataQuery return? How to set the row limit to the both? Searching scope levels of SPQuery and SPSiteDataQuery? What is...