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)
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
The site collection.