Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetPagesListName method

PublishingWeb.GetPagesListName method

The URL name of the pages list in which PublishingPage objects are stored for this PublishingWeb.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public static string GetPagesListName(
	SPWeb web


Type: Microsoft.SharePoint.SPWeb

The Web for which to get the name.

Return value

Type: System.String
The URL Name of the pages list.

If the Web is not a PublishingWeb object, SharePoint Foundation 2010 throws an exception.

© 2015 Microsoft