SPListEvent.Site Property
NOTE: This API is now obsolete.
Gets the parent site of the list in which the event occurs.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property Site As SPSite
Get
'Usage
Dim instance As SPListEvent
Dim value As SPSite
value = instance.Site
[ObsoleteAttribute("Use V3 style events")]
public SPSite Site { get; }
Property Value
Type: Microsoft.SharePoint.SPSite
A Microsoft.SharePoint.SPSite object that represents the parent site.