PublishingWeb.GetPagesListId Method
Returns ID of the pages list in which PublishingPage objects are stored for this PublishingWeb object.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
The Web for which to get the pages list.
If the Web is not a PublishingWeb, the application throws an exception.