ClientContext.Site Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)


Public ReadOnly Property Site As Site
Dim instance As ClientContext
Dim value As Site

value = instance.Site
public Site Site { get; }

Property Value

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

See Also


ClientContext Class

ClientContext Members

Microsoft.SharePoint.Client Namespace