SPWebApplication.CompatibilityRange property

SharePoint 2013

Gets or sets whether the site collection upgrades are available and the range of the site collection template versions that are available in Self-Service Site Creation.

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

Public Property CompatibilityRange As SPCompatibilityRange
Dim instance As SPWebApplication
Dim value As SPCompatibilityRange

value = instance.CompatibilityRange

instance.CompatibilityRange = value

Property value

Type: Microsoft.SharePoint.SPCompatibilityRange
The compatibility range of the site collection template versions.