Share via


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

Syntax

'Declaration
Public Function OpenSite As SPSite
'Usage
Dim instance As SPItemEventProperties
Dim returnValue As SPSite

returnValue = instance.OpenSite()
public SPSite OpenSite()

Return Value

Type: Microsoft.SharePoint.SPSite
Returns SPSite.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace