SPUsageApplication.LoggingEnabled property

Indicates whether usage logging is enabled for this usage application or not.

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

Syntax

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

value = instance.LoggingEnabled

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

Property value

Type: System.Boolean
A Boolean value = true if logging is enabled.

See also

Reference

SPUsageApplication class

SPUsageApplication members

Microsoft.SharePoint.Administration namespace