This topic has not yet been rated - Rate this topic

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public Guid WebId { get; }

Property Value

Type: System.Guid
A GUID that identifies the site.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ