Share via


PosCommon.RetrieveStatistics Method ()

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

Usage

'Usage
Dim returnValue As String
Dim posCommon1 As PosCommon
returnValue = posCommon1.RetrieveStatistics()

Syntax

'Declaration
Overloads Public MustOverride Function RetrieveStatistics() As String
public abstract string RetrieveStatistics();
public: abstract String^ RetrieveStatistics();
public abstract System.String RetrieveStatistics();
public abstract function RetrieveStatistics() : String;

Remarks

The application calls RetrieveStatistics to retrieve all device statistics.

RetrieveStatistics is always executed synchronously.

RetrieveStatistics returns the requested statistics if successful, and it can throw the following exception:

Value

Meaning

Illegal

The CapStatisticsReporting property is set to FALSE, indicating that the device doesn’t support statistics reporting.

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