Site.CompatibilityLevel property

Gets the major version of this site collection for purposes of major version-level compatibility checks.

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

Syntax

'Declaration
Public ReadOnly Property CompatibilityLevel As Integer
    Get
'Usage
Dim instance As Site
Dim value As Integer

value = instance.CompatibilityLevel
public int CompatibilityLevel { get; }

Property value

Type: System.Int32

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace