Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.