SPListCollection.EnsureSitePagesLibrary Method
SharePoint 2010
A list that is designated as a default location for wiki pages.
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.SPListA SPList object designated as a default location for wiki pages.