SPUsageDefinition.Enabled property

Gets or sets a value specifying whether usage logging has been enabled for this type.

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

Syntax

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

value = instance.Enabled

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

Property value

Type: System.Boolean
Returns a Boolean value indicating whether usage logging has been enabled.

See also

Reference

SPUsageDefinition class

SPUsageDefinition members

Microsoft.SharePoint.Administration namespace