PowerSource Enumeration (POS for .NET v1.12 SDK Documentation)

2/27/2008

Enumerates possible current power sources for a device.

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

Syntax

'Declaration
Public Enumeration PowerSource
public enum PowerSource
public enum class PowerSource
public enum PowerSource
public enum PowerSource

Members

Member name Description
AC The current power source is the AC line.
Backup The current power source is a backup source such as an UPS or backup battery.
Battery The current power source is a system battery. This value is only presented for systems that operate typically on battery.
NotAvailable Power source reporting is not available.

Remarks

Used by the PowerSource property of the PosPower class to report on the current power source of the device, or to report that power source reporting is not available for that device.

See Also

Reference

Microsoft.PointOfService Namespace