SPSite.SchemaVersion property
SharePoint 2013
Gets the version of this site collection for purposes of fine-grained upgrade compatibility checks.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)] public Version SchemaVersion { get; }
Property value
Type: System.VersionA System.Version object that contains the value of the last upgrade sequence to run on this site collection. changed.