Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
)

Parameters

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.

Show:
© 2015 Microsoft