Share via


SPManager members

Enables querying and managing upgrade sessions in the current farm.

The SPManager type exposes the following members.

Constructors

  Name Description
Public method SPManager Initializes a new instance of the SPManager class.

Top

Properties

  Name Description
Public propertyStatic member ActionTimeThresholdInCompatibleMode If an action takes more time to execute when in compatibility range, than the time specified by this value a warning will be generated into the upgrade logs.
Public property ConnectionString Property for the configuration database connection string.
Public property Farm The SPFarm object representing the current version of configuration database
Public property Farm3 The SPFarm object representing the previuos configuratino database (in gradual upgrade)
Public propertyStatic member Instance Gets the singleton instance of the SPManager object.
Public property LocalV3FarmAccountName Get the farm account name from the config db from wss v3 DSN registry
Public property Log Gets the log for the upgrade.
Public property LogFilePath Obsolete. Gets or sets the path for the log file that is located on the local server.
Public property LoggingEnabled Obsolete. Gets or sets a Boolean value that determines whether logging is enabled for the upgrade.
Public property Mode Gets or sets the upgrade mode.
Public propertyStatic member RevertAllDocumentCustomizationsOnUpgrade Gets a Boolean value that indicates whether the upgrade reverts all document customizations.
Public property Session Gets the property indicating whether logging is enabled.
Public property UpgradeContext Gets the context of the upgrade.

Top

Methods

  Name Description
Public methodStatic member AddUpgradeWorkItem Adds a work item to be performed post-upgrade.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member PeekIsUpgradeRunning Checks if upgrade is running on the calling thread.
Public method PerformConfigDatabaseUpgrade Executes an upgrade of the configuration database in Microsoft SharePoint Foundation.
Public method RunMigrateSession Obsolete.
Public method RunUpgradeSession Upgrades a persisted upgradable object in a session.
Public methodStatic member SetupConfigDBToWyukonBootStrapMode Obsolete. If we are upgrading a WSS build that is using WYUKON DB, we will need to set CONFIG DB into a boot strap mode because the new CERTs has not been applied yet.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPManager class

Microsoft.SharePoint.Upgrade namespace