Share via


LimitedWebPartManager.Scope Property

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

Namespace:  Microsoft.SharePoint.Client.WebParts
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Scope As PersonalizationScope
    Get
'Usage
Dim instance As LimitedWebPartManager
Dim value As PersonalizationScope

value = instance.Scope
[RemoteAttribute]
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