Share via


SPSolutionResourceUsageLog.LogResourceUsage Method (SPSolutionResourceUsageRecord)

Logs the specified resource usage record.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Sub LogResourceUsage ( _
    resourceUsageRecord As SPSolutionResourceUsageRecord _
)
'Usage
Dim resourceUsageRecord As SPSolutionResourceUsageRecordSPSolutionResourceUsageLog.LogResourceUsage(resourceUsageRecord)
public static void LogResourceUsage(
    SPSolutionResourceUsageRecord resourceUsageRecord
)

Parameters

Remarks

This method calls the LogResourceUsage(SPSolutionResourceUsageRecord, Boolean) method with false for the forceFlush parameter.

See Also

Reference

SPSolutionResourceUsageLog Class

SPSolutionResourceUsageLog Members

LogResourceUsage Overload

Microsoft.SharePoint Namespace