Share via


PosCommon.CapUpdateStatistics Property

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim posCommon1 As PosCommon

Dim returnValue As Boolean
returnValue = posCommon1.CapUpdateStatistics

Syntax

'Declaration
Public MustOverride ReadOnly Property CapUpdateStatistics() As Boolean
public abstract bool CapUpdateStatistics {get;}
public: property virtual Boolean CapUpdateStatistics{
    Boolean get();
}
public abstract boolean get_CapUpdateStatistics();
public abstract function get CapUpdateStatistics() : Boolean;

Remarks

If set to TRUE, some or all of the device statistics can be reset to 0 (zero) using the ResetStatistic(s) methods, or updated using the UpdateStatistic(s) methods.

If the CapStatisticsReporting property is set to FALSE, CapUpdateStatistics will always be FALSE. The device must be opened before this property can be read.

CapUpdateStatistics is initialized to FALSE. When statistics are created for a specific device, and if those statistics can be reset or updated, then POS for .NET sets CapUpdateStatistics to TRUE (for that device).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
CapStatisticsReporting
UpdateStatistics