Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Getsthe compatibility level of the context site.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared ReadOnly Property ContextCompatibilityLevel As Integer
Get
'Usage
Dim value As Integer
value = SPUtility.ContextCompatibilityLevel
public static int ContextCompatibilityLevel { get; }
Property value
Type: System.Int32
The value representing the compatibility level of the context site.
Remarks
If no context site, return the Major Build Version of the current product.