Share via


ContentDeploymentPath.EnableEventReceivers property

Gets or sets a value indicating whether to enable event receivers during import.

Namespace:  Microsoft.SharePoint.Publishing.Administration
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property EnableEventReceivers As Boolean
    Get
    Set
'Usage
Dim instance As ContentDeploymentPath
Dim value As Boolean

value = instance.EnableEventReceivers

instance.EnableEventReceivers = value
public bool EnableEventReceivers { get; set; }

Property value

Type: System.Boolean
A value indicating whether event receivers are enabled or disabled during import.

See also

Reference

ContentDeploymentPath class

ContentDeploymentPath members

Microsoft.SharePoint.Publishing.Administration namespace