다음을 통해 공유


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 class

SPUpgradeJobDefinition members

Microsoft.SharePoint.Administration namespace

Object

Other resources

Upgrade Overview