0 out of 1 rated this helpful - Rate this topic

SPListCollection.EnsureSitePagesLibrary Method

SharePoint 2010

A list that is designated as a default location for wiki pages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableMethodAttribute(Name = "EnsureSitePagesLibrary", ReturnObjectIdentity = true)]
public SPList EnsureSitePagesLibrary()

Return Value

Type: Microsoft.SharePoint.SPList
A SPList object designated as a default location for wiki pages.

If this list does not exist one is created and returned. If multiple such lists exist only one is returned.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ