SPItemEventProperties.OpenSite Method

Opens the site collection of the Web application in which the event is triggered.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public SPSite OpenSite()

Return Value

Type: Microsoft.SharePoint.SPSite
Returns SPSite.
Show: