SP.ClientContext(serverRelativeUrl) Constructor
Applies to: SharePoint Foundation 2010
Initializes a new instance of the SP.ClientContext Class.
var value = new ClientContext(serverAbsoluteUrl);
Parameters
serverAbsoluteUrl
Type: String
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SharePoint Foundation 2010
Initializes a new instance of the SP.ClientContext Class.
var value = new ClientContext(serverAbsoluteUrl);
serverAbsoluteUrl
Type: String