Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWeb.GetLimitedWebPartManager method

Returns the limited Web Part Manager for the specified Web Part page and view.

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

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.SPLimitedWebPartManager
An SPLimitedWebPartManager object that represents the Web Part Manager.
Show:
© 2015 Microsoft