This topic has not yet been rated - Rate this topic

SPWebTemplate.CompatibilityLevel property

SharePoint 2013

Gets the compatibility level for the web template.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual int CompatibilityLevel { get; }

Property value

Type: System.Int32
A System.Int32 representation of the product version. 14 for SharePoint 2010 or previous version to that; otherwise major product version.

For built-in templates, the value is the major product version. For feature templates, the value is the UIVersion attribute from the onet.xml file.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.