Share via


LimitedWebPartManager.Scope property

Gets a value that specifies the current personalization scope of the Web Part Page.

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

Syntax

'Declaration
Public ReadOnly Property Scope As PersonalizationScope
    Get
'Usage
Dim instance As LimitedWebPartManager
Dim value As PersonalizationScope

value = instance.Scope
public PersonalizationScope Scope { get; }

Property value

Type: Microsoft.SharePoint.Client.WebParts.PersonalizationScope
Returns a PersonalizationScope instance representing the current personalization scope of the Web Part Page.

Remarks

Its value must be User if personalized data is loaded for the Web Parts on the Web Part Page, or Shared if common data for all users is loaded. Represents a file in a site that can be a Web Part Page, an item in a document library or a file in a folder.

See also

Reference

LimitedWebPartManager class

LimitedWebPartManager members

Microsoft.SharePoint.Client.WebParts namespace