Share via


SPAction.TargetSchemaVersion property

Gets the schema version to which the Microsoft SharePoint Foundation installation is being upgraded.

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

Syntax

'Declaration
Protected Friend ReadOnly Property TargetSchemaVersion As Version
    Get
'Usage
Dim value As Version

value = Me.TargetSchemaVersion
protected internal Version TargetSchemaVersion { get; }

Property value

Type: System.Version
A System.Version object that represents the schema version.

Remarks

When you run an upgrade sequence, the only actions that are executed are those that have a more recent target schema version than the current schema version of the resource.

See also

Reference

SPAction class

SPAction members

Microsoft.SharePoint.Upgrade namespace