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.