Share via


SP.ClientContext.site Property

Applies to: SharePoint Foundation 2010

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

var value = SP.ClientContext.get_site();

Property Value

Type: SP.Site

Applies To

SP.ClientContext Class

See Also

Reference

SP.ClientContext Methods

SP.ClientContext Properties

SP Namespace