Share via


SPUsageSettings.LoggingEnabled Property

NOTE: This API is now obsolete.

Indicates whether usage analysis logging is enabled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPUsageManager instead.", False)> _
Public Property LoggingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPUsageSettings
Dim value As Boolean

value = instance.LoggingEnabled

instance.LoggingEnabled = value
[ObsoleteAttribute("Use SPUsageManager instead.", false)]
public bool LoggingEnabled { get; set; }

Property Value

Type: System.Boolean
A Booleantrue if logging is enabled.

Remarks

If the [LoggingEnabled] property is set (reset) the Update method must be called to effect changes in the database.

See Also

Reference

SPUsageSettings Class

SPUsageSettings Members

Microsoft.SharePoint.Administration Namespace