Description

There are two methods GetPublishingPages() and GetPublishingPages(uint rowLimit).

Both methods lead to the following issues:

  • performance degradation
  • they return items from the root folder – if you have folders, you don’t get anything inside folders

Resolution

Use GetPublishingPages(SPQuery query) or GetPublishingPages(string camlQuery) methods.

Links