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.
Gets the ID of the Web site for which the event occurred.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property WebId As Guid
Get
'Usage
Dim instance As SPWebEventProperties
Dim value As Guid
value = instance.WebId
public Guid WebId { get; }
Property Value
Type: System.Guid
Returns a Guid GUID that identifies the Web site.
Remarks
This property is only useful with After events. To reference a Web for Before events, use the ParentWebId property.