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:
© 2014 Microsoft