Share via


ClientContext.Site property

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

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

public Site Site { get; }

Property value

Type: Microsoft.SharePoint.Client.Site
The site collection associated with the client context.

See also

Reference

ClientContext class

ClientContext members

Microsoft.SharePoint.Client namespace