共用方式為


SPPersistedUpgradableObject Class

Represents a persisted object that implements the IUpgradable interface.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPDatabase
        Microsoft.SharePoint.Administration.SPFarm
        Microsoft.SharePoint.Administration.SPServer
        Microsoft.SharePoint.Administration.SPService
        Microsoft.SharePoint.Administration.SPServiceInstance
        Microsoft.SharePoint.Administration.SPWebApplication

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<GuidAttribute("280E2581-1E2B-40c7-80C2-2E0032BCFBE4")> _
<UpgradableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPPersistedUpgradableObject _
    Inherits SPPersistedObject _
    Implements IUpgradable

Dim instance As SPPersistedUpgradableObject
[GuidAttribute("280E2581-1E2B-40c7-80C2-2E0032BCFBE4")]
[UpgradableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPPersistedUpgradableObject : SPPersistedObject, 
    IUpgradable

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

SPPersistedUpgradableObject Members

Microsoft.SharePoint.Administration Namespace