SPEventReceiverDefinition.WebId property
Gets the ID of the site in which the event receiver is registered.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property WebId As Guid
Get
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As Guid
value = instance.WebId
public Guid WebId { get; }
Property value
Type: System.Guid
A GUID that identifies the site.
See also
Reference
SPEventReceiverDefinition class
SPEventReceiverDefinition members
Microsoft.SharePoint namespace
Other resources
Event Receivers Result Set