SPWebApplication.CompatibilityRange property

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)

Syntax

'Declaration
Public Property CompatibilityRange As SPCompatibilityRange
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As SPCompatibilityRange

value = instance.CompatibilityRange

instance.CompatibilityRange = value
public SPCompatibilityRange CompatibilityRange { get; set; }

Property value

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

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace