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)


Public Function OpenWeb As SPWeb
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


SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace