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