Partilhar via


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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetLimitedWebPartManager ( _
    fullOrRelativeUrl As String, _
    scope As PersonalizationScope _
) As SPLimitedWebPartManager
'Usage
Dim instance As SPWeb
Dim fullOrRelativeUrl As String
Dim scope As PersonalizationScope
Dim returnValue As SPLimitedWebPartManager

returnValue = instance.GetLimitedWebPartManager(fullOrRelativeUrl, _
    scope)
[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.

Return Value

Type: Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager
An SPLimitedWebPartManager object that represents the Web Part Manager.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace