Partilhar via


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)
Available in Sandboxed Solutions: No

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 indicating whether usage receivers are enabled for this usage type.

See Also

Reference

SPUsageDefinition Class

SPUsageDefinition Members

Microsoft.SharePoint.Administration Namespace