共用方式為


SPUsageService.LoggingEnabled property

會指出是否已啟用記錄此使用狀況應用程式或未。

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

Syntax

'宣告
Public ReadOnly Property LoggingEnabled As Boolean
    Get
'用途
Dim instance As SPUsageService
Dim value As Boolean

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

Property value

Type: System.Boolean
Boolean 值 = true ,如果已啟用記錄。

請參閱

參照

SPUsageService class

SPUsageService members

Microsoft.SharePoint.Administration namespace