Compartilhar via


SPUsageService.LoggingEnabled Property

Indicates whether 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 ReadOnly Property LoggingEnabled As Boolean
    Get
'Usage
Dim instance As SPUsageService
Dim value As Boolean

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

Property Value

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

See Also

Reference

SPUsageService Class

SPUsageService Members

Microsoft.SharePoint.Administration Namespace