共用方式為


SPPersistedUpgradableObject class

代表實作IUpgradable介面保存的物件。

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)

Syntax

'宣告
<UpgradableAttribute> _
<GuidAttribute("280E2581-1E2B-40c7-80C2-2E0032BCFBE4")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPPersistedUpgradableObject _
    Inherits SPPersistedObject _
    Implements IUpgradable, IUpgradable2
'用途
Dim instance As SPPersistedUpgradableObject
[UpgradableAttribute]
[GuidAttribute("280E2581-1E2B-40c7-80C2-2E0032BCFBE4")]
[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.

請參閱

參照

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