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)


Public ReadOnly Property SchemaVersion As Version
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


SPSite class

SPSite members

Microsoft.SharePoint namespace