Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContext.Site Property

Windows SharePoint Services 3

Gets the site collection that is associated with the Windows SharePoint Services context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPSite Site { get; }

Property Value

Type: Microsoft.SharePoint.SPSite
An SPSite object that represents the site collection.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.