SPSite.SchemaVersion property

Gets the version of this site collection for purposes of fine-grained upgrade compatibility checks.

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

Syntax

'Declaration
Public ReadOnly Property SchemaVersion As Version
    Get
'Usage
Dim instance As SPSite
Dim value As Version

value = instance.SchemaVersion
public Version SchemaVersion { get; }

Property value

Type: System.Version
A System.Version object that contains the value of the last upgrade sequence to run on this site collection. changed.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace