共用方式為


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
        

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

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.SPPrejoinedFarm
        Microsoft.SharePoint.Administration.SPServer
        Microsoft.SharePoint.Administration.SPService
        Microsoft.SharePoint.Administration.SPServiceApplication
        Microsoft.SharePoint.Administration.SPServiceApplicationProxy
        Microsoft.SharePoint.Administration.SPServiceApplicationProxyGroup
        Microsoft.SharePoint.Administration.SPServiceInstance
        Microsoft.SharePoint.Administration.SPServiceProxy
        Microsoft.SharePoint.Administration.SPWebApplication