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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ClientCallableTypeAttribute(Name := "LimitedWebPartManager", ServerTypeId := "{ac641ade-62df-49c9-af8e-abda6278e920}")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPLimitedWebPartManager _
    Implements IDisposable
'Usage
Dim instance As SPLimitedWebPartManager
[ClientCallableTypeAttribute(Name = "LimitedWebPartManager", ServerTypeId = "{ac641ade-62df-49c9-af8e-abda6278e920}")]
[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