Share via


PosCommon.RetrieveStatistics Method (String[])

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

Usage

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

Syntax

'Declaration
Overloads Public MustOverride Function RetrieveStatistics( _
    ByVal statistics() As String _
) As String
public abstract string RetrieveStatistics(
    string[] statistics
);
public: abstract String^ RetrieveStatistics(
    array<String^>^ statistics
);
public abstract System.String RetrieveStatistics(
    System.String[] statistics
);
public abstract function RetrieveStatistics(
     statistics : String[]
) : String;

Parameters

  • statistics
    Contains an array of statistic names to retrieve.

Remarks

Retrieves the specified statistics.

RetrieveStatistics is always executed synchronously.

RetrieveStatistics returns a string of statistics if successful, and it can throw the following exceptions:

Value

Meaning

Illegal

One of the following conditions has occurred:

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

  • The statistics parameter is null or has a length of 0 (zero); or

  • One or more of the specified statistics don’t exist.

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