PersistedAttribute Class
Indicates that the attributed property should be stored in the configuration database.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.Administration.PersistedAttribute
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Field)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PersistedAttribute _
Inherits Attribute
'Usage
Dim instance As PersistedAttribute
[AttributeUsageAttribute(AttributeTargets.Field)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PersistedAttribute : Attribute
Remarks
This attribute can only be used on fields of classes derived from SPAutoSerializingObject.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SharePoint.Administration Namespace
Other Resources
Overview: Using the Object Model to Customize Administration