Sample Outline for Upgrade Actions

Applies to: SharePoint Foundation 2010

The following sample outline shows a possible structure for the kinds of actions that Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 perform during upgrade.

The outline illustrates the kind of object model that is used in the case of upgrading a portal application. Each module (.cs or .vb file) in the upgrade application defines actions that must be performed with respect to a specific part of the deployment. Each module defines a base action class, as well as any number of other classes that inherit from the base class to complete specific actions.

Warning

This topic describes how SharePoint Foundation 2010 and SharePoint Server 2010 use the Microsoft.SharePoint.Upgrade object model to upgrade deployments. This information is advanced and not meant for general public use.

Actions

Farm

FarmAction : SPAction

Abstract base class for all upgrade actions acting on the server farm.

FarmMigrator

  • Migrate farm-level settings between versions.

WebApplicationMigrator

  • Migrate Web application and portal level settings.

AdministrationObjectsUpgrade : FarmAction

  • Upgrade constructs in the configuration database of the previous version to new constructs.

IIS Web Sites

IisWebSiteAction : SPAction

Abstract base class for all upgrade actions that upgrade virtual servers.

FixupWebConfigFiles : IisWebSiteAction

  • Upgrade the Internet Information Services (IIS) instance.

  • Upgrade version references in the SafeControls section of the web.config file.

Profile Database

ProfileDatabaseAction : SPDatabaseAction

Abstract base class for all upgrade actions that upgrade profile databases.

MyLinksSchemaUpgrade : ProfileDatabaseAction

  • Add schema to support QuickLinks in My Contacts. 

UserProfileV3M1FC1Upgrade : ProfileDatabaseAction

  • Upgrade database and initialize data. 

AppRegistryImportUpgrade : ProfileDatabaseAction

  • Add schema to support import of application registry settings.

PropertyChangesV3M3Upgrade : ProfileDatabaseAction

  • Update profile properties.

UpdateMembershipGroupUpgrade : ProfileDatabaseAction

  • Update membership groupings.

Service Database

ServiceDatabaseAction : SPDatabaseAction

Abstract base class for all upgrade actions that upgrade service databases.

MatrixSchemaAndInitDataUpgrade : ServiceDatabaseAction

  • Upgrade schema and initialize data associated with user profiles.

Site Collections

SiteAction : SPAction

Abstract base class for all site collection upgrade actions.

GenericWebPartGalleryUpgrade : SiteAction

  • Update Web Parts, add new ones, or override existing .dwp files.

LayoutPageUploader

  • Upload layout master pages into the master page document library of the root Web site.

  • Install landing pages for various features and provide redirection to the appropriate Welcome page.

PortalSiteUpgradeAreaAndListingData : SiteAction

  • Upgrade the data for areas and listings.

  • Upgrade the URLs for logos, CSS, or site navigation.

  • Apply security settings.

  • Create custom roles for users who were directly assigned to areas without roles in a previous version of SharePoint Foundation.

  • Map roles from the previous version to the appropriate rights in the new version.

  • Create role definitions for groups and move users to the appropriate groups.

  • Add content types to the appropriate lists.

MySiteDocLibsUpgrader : SiteAction

  • Add a My Documents document library to MySite.

SearchResultsWebPartGalleryUpgrade : GenericWebPartGalleryUpgrade

  • Add Search Result Web Parts to the Web Part gallery.

SearchCenterAreaUpgrade : SiteAction

  • Add a Search Center as an area.

SQL Scripts

ActionSqlScripts

A collection of upgrade scripts to run during upgrade actions.

Web Applications

WebApplicationAction : SPAction

Abstract base class for all upgrade actions acting on the server farm.

  • Upgrade the previous version's constructs in a Web application to SharePoint Foundation constructs of the current release.

Web Server

WebServerAction : SPAction

Abstract base class for all Web Server upgrade actions.

  • Upgrade the previous version's constructs in a Web server to SharePoint Foundation constructs of the current release.

See Also

Reference

Microsoft.SharePoint.Upgrade

Concepts

SharePoint Foundation Upgrade Object Model

Other Resources

Upgrading SharePoint Foundation