SP.ClientRuntimeContext(serverRelativeUrl) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.ClientRuntimeContext Class with the specified absolute URL.

var value = new ClientRuntimeContext(serverRelativeUrl);

Parameters

  • webFullUrl
    The String that represents the absolute URL for the site collection.

serverRelativeUrl

Type: String

Applies To

SP.ClientRuntimeContext Class

See Also

Reference

SP.ClientRuntimeContext Methods

SP.ClientRuntimeContext Properties

SP Namespace