Share via


SPUsageManager.LoggingEnabled property

Gets or sets a value that determines whether usage logging is enabled for this farm.

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

Syntax

'Declaration
Public Property LoggingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPUsageManager
Dim value As Boolean

value = instance.LoggingEnabled

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

Property value

Type: System.Boolean
Gets a Boolean indicating whether usage logging is enabled.

See also

Reference

SPUsageManager class

SPUsageManager members

Microsoft.SharePoint.Administration namespace