SP.ClientContext.serverVersion Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets the version of the current SharePoint Server.

var value = SP.ClientContext.get_serverVersion(); 

Property Value

Type: String

Applies To

SP.ClientContext Class

Remarks

This property is available after the first SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback) Method is executed.

See Also

Reference

SP.ClientContext Methods

SP.ClientContext Properties

SP Namespace