SPUpgradeJobDefinition.Mode property

Gets or sets a value that indicates the type of upgrade that the current job defines.

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

public Mode Mode { get; set; }

The default value is Microsoft.SharePoint.Upgrade.ModeInPlace.

Important noteImportant

After setting this property, call the Update() method to save the change.

Show: