SPSite.CompatibilityLevel property
Gets the major version of this site collection for purposes of major version-level compatibility checks.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property CompatibilityLevel As Integer
Get
'Usage
Dim instance As SPSite
Dim value As Integer
value = instance.CompatibilityLevel
public int CompatibilityLevel { get; }
Property value
Type: System.Int32