共用方式為


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)
Available in Sandboxed Solutions: No

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