ClientContext.ServerVersion property
Gets the version of the current SharePoint Server.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property ServerVersion As Version
Get
'Usage
Dim instance As ClientContext
Dim value As Version
value = instance.ServerVersion
public Version ServerVersion { get; }
Property value
Type: System.Version
The version of the current SharePoint Server.
Remarks
The property is available after the first ExecuteQuery method is executed.