1 out of 1 rated this helpful - Rate this topic

SPEventReceiverDefinition.Synchronization Property

SharePoint 2010

Gets an enumeration that specifies the synchronization state for the event receiver.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public SPEventReceiverSynchronization Synchronization { get; set; }

Property Value

Type: Microsoft.SharePoint.SPEventReceiverSynchronization
Returns Default, Asynchronous, or Synchronous.

After event receivers can be synchronous or asynchronous; Before event receivers can only be synchronous.

If this property is set to Default for a Before event, this is equivalent to Synchronous. If this property is set to Default for an After event, this is equivalent to Asynchronous.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ