SP.ClientContext.site Property

SharePoint 2010

Last modified: March 01, 2010

Applies to: SharePoint Foundation 2010

Gets the site collection that is associated with the client context.

var value = SP.ClientContext.get_site();
Show: