共用方式為


SPUsageManager.UsageLogDir property

儲存流量記錄檔案的目錄。此設定是分開的 ULS 記錄檔所使用的 LogDir 設定。預設位置是 LogDir 相同。

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

Syntax

'宣告
Public Property UsageLogDir As String
    Get
    Set
'用途
Dim instance As SPUsageManager
Dim value As String

value = instance.UsageLogDir

instance.UsageLogDir = value
public string UsageLogDir { get; set; }

Property value

Type: System.String

請參閱

參照

SPUsageManager class

SPUsageManager members

Microsoft.SharePoint.Administration namespace