Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.