Share via


PosCommon.CapUpdateStatistics Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a Boolean value that indicates whether some or all the device statistics can be reset to 0 (zero) by using the ResetStatistic and ResetStatistics methods, or updated by using the UpdateStatistic and UpdateStatistics methods.

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

Syntax

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

Remarks

If set to true, some or all the device statistics can be reset to 0 (zero) by using the ResetStatistic and ResetStatistics methods, or updated by using the UpdateStatistic and UpdateStatistics methods. If the CapStatisticsReporting property is set to false, CapUpdateStatistics is always be false. The device must be opened before this property can be read.

The CapUpdateStatistics property 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 the CapUpdateStatistics property 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.

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
PosCommon.CapStatisticsReporting Property
PosCommon.UpdateStatistics Method