Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
SPEventReceiverDefinition..::.Synchronization Property

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
Visual Basic (Declaration)
Public Property Synchronization As SPEventReceiverSynchronization
    Get
    Set
Visual Basic (Usage)
Dim instance As SPEventReceiverDefinition
Dim value As SPEventReceiverSynchronization

value = instance.Synchronization

instance.Synchronization = value
C#
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker