共用方式為


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