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
)
參數
resourceUsageRecord
Type: Microsoft.SharePoint.SPSolutionResourceUsageRecord資源使用狀況記錄會記錄。
備註
這個方法會呼叫forceFlush參數具有false的LogResourceUsage(SPSolutionResourceUsageRecord, Boolean)方法。
請參閱
參照
SPSolutionResourceUsageLog class