DeviceStatistics.RetrieveStatistics Method (String[])
Retrieves the specified string of statistics.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Usage
'Usage
Dim statistics() As String
Dim returnValue As String
Dim deviceStatistics1 As DeviceStatistics
returnValue = deviceStatistics1.RetrieveStatistics(statistics)
Syntax
'Declaration
Overloads Public Function RetrieveStatistics( _
ByVal statistics() As String _
) As String
public string RetrieveStatistics(
string[] statistics
);
public: String^ RetrieveStatistics(
array<String^>^ statistics
);
public System.String RetrieveStatistics(
System.String[] statistics
);
public function RetrieveStatistics(
statistics : String[]
) : String;
Parameters
- statistics
Contains a comma-separated string of statistics.
Remarks
If the service object needs to maintain hardware-based statistics, provide that information to the application, and allow the application to retrieve those statistics, it should use SetStatisticHandlers to specify handlers that can be used by POS for .NET for this purpose.
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
DeviceStatistics Class
DeviceStatistics Members
Microsoft.PointOfService.BaseServiceObjects Namespace
RetrieveStatistics