PowerState Enumeration
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim powerState1 As PowerState = PowerState.Off
Syntax
'Declaration
Public Enum PowerState
public enum PowerState
public enum class PowerState
public enum PowerState
public enum PowerState
Members
Member name | Description |
---|---|
Off | The device is off or detached from the terminal. |
Offline | The device is powered on but is either not ready or not able to respond to requests. |
OffOffline | The device is either off or offline. |
Online | The device is powered on and ready for use. |
Unknown | Cannot determine the device's power state. |
Remarks
Defines the possible current power state values for a device. Used by the PowerState property. Replaces the PS_UNKNOWN, PS_ONLINE, PS_OFF, PS_OFFLINE, and PS_OFF_OFFLINE constants.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000