PublishingWeb.GetPagesListName Method
The URL name of the pages list in which PublishingPage objects are stored for this PublishingWeb.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
Visual Basic (Declaration)
Public Shared Function GetPagesListName ( _ web As SPWeb _ ) As String
Visual Basic (Usage)
Dim web As SPWeb Dim returnValue As String returnValue = PublishingWeb.GetPagesListName(web)
C#
public static string GetPagesListName( SPWeb web )
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
The Web for which to get the name.
Remarks
If the Web is not a PublishingWeb object, SharePoint Foundation 2010 throws an exception.
Examples
See Also
