Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.EffectiveStorage property

Gets whether the instance of the Web Part returned is stored as personal instance or shared instance.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public Storage EffectiveStorage { get; }

Property value

Type: Microsoft.SharePoint.WebPartPages.Storage
A Storage enumeration that specifies how the current Web Part is stored.

A developer can use this property to determine the mode in which a Web Part is currently being rendered (Personal View = Storage.Personal, or Shared View = Storage.Shared), and use that information to create different behavior for each mode.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.