共用方式為


SPMigrator Class

NOTE: This API is now obsolete.

Abstract class that is used to migrate content from an earlier version of Microsoft SharePoint Foundation to the current one.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Upgrade.StopEventReceiver
    Microsoft.SharePoint.Upgrade.SPDelegate
      Microsoft.SharePoint.Upgrade.SPMigrator

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

Syntax

'Declaration
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPMigrator _
    Inherits SPDelegate _
    Implements IMigrator
'Usage
Dim instance As SPMigrator
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPMigrator : SPDelegate, 
    IMigrator

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

SPMigrator Members

Microsoft.SharePoint.Upgrade Namespace