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