Export (0) Print
Expand All

ClientContext.ServerVersion property

Gets the version of the current SharePoint Server.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public Version ServerVersion { get; }

Property value

Type: System.Version
The version of the current SharePoint Server.

The property is available after the first ExecuteQuery method is executed.

Show:
© 2014 Microsoft