SPLimitedWebPartManager class
SharePoint 2013
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.
Namespace:
Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableTypeAttribute(Name = "LimitedWebPartManager", ServerTypeId = "{ac641ade-62df-49c9-af8e-abda6278e920}", SampleUrl = "{apiroot}/web/getfilebyserverrelativeurl({FileRelativeUrl})/GetLimitedWebPartManager({PersonalizationScopeId})")] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class SPLimitedWebPartManager : IDisposable
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."