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)

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