Share via


SPSystemPerformanceMonitor.LastValue property

When implemented in a derived class, gets the value that the underlying performance measure reported the last time it was read.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property LastValue As Object
    Get
'Usage
Dim instance As SPSystemPerformanceMonitor
Dim value As Object

value = instance.LastValue
public abstract Object LastValue { get; }

Property value

Type: System.Object
The last sampled value of the performance measure.

Remarks

Notes to implementers

This property should store a snapshot of the value. Hence, the Value property should be implemented to reset LastValue every time Value is read. The get accessor of Value should read the underlying performance measure, but the get accessor of LastValue should not.

See also

Reference

SPSystemPerformanceMonitor class

SPSystemPerformanceMonitor members

Microsoft.SharePoint.Utilities namespace