PublishingWeb.PagesListId property

Gets or sets the ID of the pages list in which the PublishingPage objects are stored for this PublishingWebobject.

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

Syntax

'Declaration
Public Property PagesListId As Guid
    Get
    Set
'Usage
Dim instance As PublishingWeb
Dim value As Guid

value = instance.PagesListId

instance.PagesListId = value
public Guid PagesListId { get; set; }

Property value

Type: System.Guid
The ID of the pages list in which the PublishingPage objects are stored for this PublishingWebobject.

Remarks

To save changes after setting this property, call the Update method.

See also

Reference

PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace

GetPagesListId

GetPagesListName

PagesList

PagesListName