共用方式為


SPWebApplication.Migrate Method (Boolean)

NOTE: This API is now obsolete.

Migrates the settings from a Windows SharePoint Services 2.0 Web application with which the Web application is paired, with the option of including all children.

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

Syntax

'Declaration
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
Public Overridable Sub Migrate ( _
    includeChildren As Boolean _
)
'Usage
Dim instance As SPWebApplication
Dim includeChildren As Boolean

instance.Migrate(includeChildren)
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public virtual void Migrate(
    bool includeChildren
)

Parameters

  • includeChildren
    Type: System.Boolean

    true if children children are included; otherwise, false.

Implements

IMigratable.Migrate(Boolean)

Remarks

A paired Web application is one that is connected to a Windows SharePoint Services 2.0 Web application for the purpose of gradual upgrade.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Migrate Overload

Microsoft.SharePoint.Administration Namespace