Share via


SPLimitedWebPartManager class

Provides a limited set of Web Part operations that can be performed in object model scenarios when there is no HttpContext and no instantiated Page object.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPLimitedWebPartManager _
    Implements IDisposable
'Usage
Dim instance As SPLimitedWebPartManager
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPLimitedWebPartManager : IDisposable

Remarks

SPLimitedWebPartManager provides a subset of the operations available on the SPWebPartManager. It is primarily used for object model scenarios in which there is no HttpContext and no instantiated Page object."

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPLimitedWebPartManager members

Microsoft.SharePoint.WebPartPages namespace