SPWeb.GetLimitedWebPartManager Method
Returns the limited Web Part Manager for the specified Web Part page and view.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)] public SPLimitedWebPartManager GetLimitedWebPartManager( string fullOrRelativeUrl, PersonalizationScope scope )
Parameters
- fullOrRelativeUrl
- Type: System.String
A string that contains the URL of the Web Part page that is associated with the Web Part Manager.
- scope
- Type: System.Web.UI.WebControls.WebParts.PersonalizationScope
A PersonalizationScope value that specifies how the Web Parts are viewed on the Web Part page.
Return Value
Type: Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManagerAn SPLimitedWebPartManager object that represents the Web Part Manager.