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)

Syntax

'Declaration
Public Shared Function GetPagesListName ( _
    web As SPWeb _
) As String
'Usage
Dim web As SPWeb
Dim returnValue As String

returnValue = PublishingWeb.GetPagesListName(web)
public static string GetPagesListName(
    SPWeb web
)

Parameters

Return value

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

Remarks

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

Examples

GetPagesListId

PagesList

PagesListId

PagesListName

See also

Reference

PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace