SPUsageDefinition.EnableReceivers property

Gets or sets a value indicating whether usage receivers are enabled for this usage type.

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

Syntax

'Declaration
Public Overridable Property EnableReceivers As Boolean
    Get
    Set
'Usage
Dim instance As SPUsageDefinition
Dim value As Boolean

value = instance.EnableReceivers

instance.EnableReceivers = value
public virtual bool EnableReceivers { get; set; }

Property value

Type: System.Boolean
Returns a Boolean value indicating whether usage receivers are enabled for this usage type.

See also

Reference

SPUsageDefinition class

SPUsageDefinition members

Microsoft.SharePoint.Administration namespace