Share via


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

Public Property Mode As Mode
    Get
    Set

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
A Microsoft.SharePoint.Upgrade.Mode value.

Remarks

The default value is Microsoft.SharePoint.Upgrade.Mode.InPlace.

Important

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

See Also

Reference

SPUpgradeJobDefinition Class

SPUpgradeJobDefinition Members

Microsoft.SharePoint.Administration Namespace

Object

Other Resources

Upgrade Overview