共用方式為


SPUsageManager.Local property

如果存在,取得SPUsageManager中,執行個體否則,它會取得為 null 值。

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

Syntax

'宣告
Public Shared ReadOnly Property Local As SPUsageManager
    Get
'用途
Dim value As SPUsageManager

value = SPUsageManager.Local
public static SPUsageManager Local { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPUsageManager
取得SPUsageManager物件。

請參閱

參照

SPUsageManager class

SPUsageManager members

Microsoft.SharePoint.Administration namespace