This topic has not yet been rated - Rate this topic

SPListCollection.EnsureSiteAssetsLibrary Method

SharePoint 2010

A list that is designated as a default asset location for images or other files which the users upload to their wiki pages.

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

Return Value

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

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