SPUsageService.IsLoggingEnabled Method

Indicates whether logging is enabled for the specified usage application or not.

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

Syntax

'Declaration
Public Shared Function IsLoggingEnabled ( _
    usageApplication As SPUsageApplication _
) As Boolean
'Usage
Dim usageApplication As SPUsageApplication
Dim returnValue As Boolean

returnValue = SPUsageService.IsLoggingEnabled(usageApplication)
public static bool IsLoggingEnabled(
    SPUsageApplication usageApplication
)

Parameters

Return Value

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

See Also

Reference

SPUsageService Class

SPUsageService Members

Microsoft.SharePoint.Administration Namespace