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

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