Share via


PersistedAttribute Class

Indicates that this 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)

Syntax

<AttributeUsageAttribute(AttributeTargets.Field)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PersistedAttribute _
    Inherits Attribute

Dim instance As PersistedAttribute
[AttributeUsageAttribute(AttributeTargets.Field)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PersistedAttribute : Attribute

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

PersistedAttribute Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Overview: Using the Object Model to Customize Administration

Walkthrough: Creating a Content Service Object