This project is read-only.

CSC510232. Avoid enumerating all PublishingPage objects.


Here are methods GetPublishingPages() and GetPublishingPages(uint rowLimit). You can have follow problems eith its usage:
  1. performance degradation
  2. it returns item from the only root folders - if you have folders, you don't get anything inside folders


It might be better to use GetPublishingPages(SPQuery query) or GetPublishingPages(string camlQuery) methods instead


  1. GetPublishingPages()
  2. GetPublishingPages(string camlQuery)
  3. GetPublishingPages(uint rowLimit)

Last edited Jun 26, 2014 at 9:39 AM by dvd73, version 6


No comments yet.