Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPImportSettings.SuppressAfterEvents property

Gets or sets a Boolean value that directs whether to disable the firing of After events when creating or modifying files or list items.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public bool SuppressAfterEvents { get; set; }

Property value

Type: System.Boolean
true if the firing of After events is disabled; otherwise, returns false.
The default value is false.

Disabling the firing and handling of After events can have a big impact on the performance of import operations. However, when performance is not a concern, you might want to disable handling After events to avoid potential problems resulting from event handlers not running their business logic.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.