SPCompatibilityRange.DefaultCompatibilityLevel property
Gets the default compatibility level for sites being created using this range.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property DefaultCompatibilityLevel As Integer
Get
'Usage
Dim instance As SPCompatibilityRange
Dim value As Integer
value = instance.DefaultCompatibilityLevel
public int DefaultCompatibilityLevel { get; }
Property value
Type: System.Int32
The default compatibility level.
Remarks
The value of this property may be less than the maximum compatibility level, but it cannot be greater than the current major version.