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)

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