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)
Syntax
'Declaration
Public Property Mode As Mode
Get
Set
'Usage
Dim instance As SPUpgradeJobDefinition
Dim value As Mode
value = instance.Mode
instance.Mode = value
public Mode Mode { get; set; }
Property value
Type: Microsoft.SharePoint.Upgrade.Mode
An Microsoft.SharePoint.Upgrade.Mode enumeration value.
Remarks
The default value is Microsoft.SharePoint.Upgrade.ModeInPlace.
Important
After setting this property, call the Update() method to save the change.
See also
Reference
SPUpgradeJobDefinition members
Microsoft.SharePoint.Administration namespace