共用方式為


SPSolutionResourceUsageLog.LogResourceUsage method (SPSolutionResourceUsageRecord)

記錄指定的資源使用狀況記錄。

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

Syntax

'宣告
Public Shared Sub LogResourceUsage ( _
    resourceUsageRecord As SPSolutionResourceUsageRecord _
)
'用途
Dim resourceUsageRecord As SPSolutionResourceUsageRecordSPSolutionResourceUsageLog.LogResourceUsage(resourceUsageRecord)
public static void LogResourceUsage(
    SPSolutionResourceUsageRecord resourceUsageRecord
)

參數

備註

這個方法會呼叫forceFlush參數具有false的LogResourceUsage(SPSolutionResourceUsageRecord, Boolean)方法。

請參閱

參照

SPSolutionResourceUsageLog class

SPSolutionResourceUsageLog members

LogResourceUsage overload

Microsoft.SharePoint namespace