共用方式為


Microsoft.SharePoint.Upgrade Namespace

Provides types and members for upgrading a Windows SharePoint Services deployment.

Classes

  Class Description
Public class ActionBaseTypeAttribute Provides a definition for an attribute that can be used to define the type of the base SPAction object for a particular sequence.
Public class BackwardsCompatibleSchemaVersionAttribute Contains the smallest schema version that is compatible with the current binary.
Public class OwnerAttribute Provides a definition for an attribute that can be used to define an owner for a specific class.
Public class PhaseAttribute Provides a definition for an attribute that can be used to divide the upgrade of an object into distinct phases. Each phase can have one or more upgrade sequences.
Public class SPAction Abstract class that represents an upgrade action, which is a self-contained operation that describes an upgrade transformation.
Public class SPActionSequence Abstract class that represents an upgrade sequence that uses upgrade actions.
Public class SPContentDatabaseTestResult Represents a test result entry from integrity check on a content database. A content database check may result in one or more test result entries.
Public class SPDatabaseAction Provides an abstract class for all database upgrade actions.
Public class SPDatabaseSequence Abstract class representing a sequence that all database sequences can use to inherit the default implementation of the ISchemaVersioned interface.
Public class SPDataSourceMigratorException Represents an exception that occurs during migration of a data source.
Public class SPDelegate Provides an abstract class for all upgrade delegates.
Public class SPHierarchyManager Represents the upgrade hierarchy manager.
Public class SPIisWebSiteSequence Abstract class that represents the upgrade sequence for an SPIisWebSite object.
Public class SPLog Represents the Microsoft SharePoint Foundation upgrade log.
Public class SPManager Enables querying and managing upgrade sessions in the current farm.
Public class SPMigrator Obsolete. Abstract class that is used to migrate content from an earlier version of Microsoft SharePoint Foundation to the current one.
Public class SPPersistedObjectSequence Abstract class that represents the sequence that all persisted object sequences can use to inherit the default implementation of the ISchemaVersioned interface.
Public class SPPrejoinedFarmAction Represents an upgrade sequence for an SPFarm before that SPFarm is joined.
Public class SPPrejoinedFarmSequence Upgrades an object which represents a SPFarm, but before the local computer is joined to the SPFarm.
Public class SPProgressUpdateEventArgs Provides event arguments for the progress update event.
Public class SPSequence Provides an abstract superclass for all upgrade sequences in Microsoft SharePoint Foundation.
Public class SPSiteSequence Abstract class that represents the upgrade sequence for a site collection.
Public class SPStoredProcedureVerifier A utility class that refreshes stored procedures and functions from a SQL script file on a server that is running Microsoft SQL Server.
Public class SPUpgradeCompatibilityException Represents an exception that occurs during upgrade when the front-end Web server attempts to connect to an incompatible database.
Public class SPUpgradeContext Provides additional upgrade context.
Public class SPUpgradeException Represents an upgrade exception.
Public class SPUpgradeLockException Represents an exception that occurs during an upgrade lock.
Public class SPUpgradeSession Represents an upgrade session.
Public class SPUpgradeSessionCollection Represents a collection of SPUpgradeSession objects.
Public class StopEventReceiver Base class that provides a default implementation for the StopEvent() handler.
Public class TargetSchemaVersionAttribute Provides a definition for an attribute that can be used to define the target schema version of a concrete SPAction object.
Public class TargetUpgradableObjectAttribute Provides a definition for an attribute that can be used to define the System.Type of the upgradeable object for a particular sequence.
Public class TestOwnerAttribute Provides a definition for an attribute that can be used to define a test owner for a specific class.
Public class UpgradableAttribute Represents a class that can participate in the Microsoft SharePoint Foundation extensible upgrade infrastructure.

Interfaces

  Interface Description
Public interface IAssemblyManifest Provides an interface for the assembly manifest used during the upgrade process.
Public interface IBuildVersioned Provides an interface that encapsulates the build versioning used in the upgrade.
Public interface ICompatibleSchemaVersioned Extends the ISchemaVersioned interface with a property that indicates the oldest schema version with which the object is compatible.
Public interface IHierarchyBuilder Provides an interface that encapsulates a hierarchy builder delegate.
Public interface IMigrator Obsolete. Provides an interface that encapsulates a migrator delegate.
Public interface ISchemaVersioned Provides an interface that encapsulates schema versioning.
Public interface IUpgrader Provides an interface that encapsulates an upgrader delegate.
Public interface IUpgradeWorkItem Provides an interface for a post-upgrade action on a work item.
Public interface IVersionCompatibleUpgrader Extends an upgrader delegate with a property that indicates backward compatibility.

Enumerations

  Enumeration Description
Public enumeration LogLevel Specifies the level of an entry reported in the log.
Public enumeration Mode Specifies the type of an upgrade.