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

PersistedAttribute Class

Indicates that the attributed property should be stored in the configuration database.

System.Object
  System.Attribute
    Microsoft.SharePoint.Administration.PersistedAttribute

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[AttributeUsageAttribute(AttributeTargets.Field)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PersistedAttribute : Attribute

This attribute can only be used on fields of classes derived from SPAutoSerializingObject.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.