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
resourceUsageRecord
Type: Microsoft.SharePoint.SPSolutionResourceUsageRecordThe resource usage record to be logged.
Remarks
This method calls the LogResourceUsage(SPSolutionResourceUsageRecord, Boolean) method with false for the forceFlush parameter.
See Also
Reference
SPSolutionResourceUsageLog Class