DeviceStatistics.RetrieveStatistics Method ()
Retrieves all device statistics.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Usage
'Usage
Dim returnValue As String
Dim deviceStatistics1 As DeviceStatistics
returnValue = deviceStatistics1.RetrieveStatistics()
Syntax
'Declaration
Overloads Public Function RetrieveStatistics() As String
public string RetrieveStatistics();
public: String^ RetrieveStatistics();
public System.String RetrieveStatistics();
public function RetrieveStatistics() : String;
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