SPItemEventProperties.OpenWeb method

Retrieves the Web site that is associated with the event that occurred.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function OpenWeb As SPWeb
'Usage
Dim instance As SPItemEventProperties
Dim returnValue As SPWeb

returnValue = instance.OpenWeb()
public SPWeb OpenWeb()

Return value

Type: Microsoft.SharePoint.SPWeb
An SPWeb object that represents the site associated with the event.

See also

Reference

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace