Share via


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

Applies To

SP.ClientContext Class

See Also

Reference

SP.ClientContext Methods

SP.ClientContext Properties

SP Namespace