SP.ClientRuntimeContext(serverRelativeUrl) Constructor

SharePoint 2010

Last modified: March 22, 2010

Applies to: SharePoint Foundation 2010

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

var value = new ClientRuntimeContext(serverRelativeUrl);

webFullUrl

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

serverRelativeUrl

Type: String

Show: