Share via


PosCommon.CapPowerReporting Property

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

Usage

'Usage
Dim posCommon1 As PosCommon

Dim returnValue As PowerReporting
returnValue = posCommon1.CapPowerReporting

Syntax

'Declaration
Public MustOverride ReadOnly Property CapPowerReporting() As PowerReporting
public abstract PowerReporting CapPowerReporting {get;}
public: property virtual PowerReporting^ CapPowerReporting{
    PowerReporting^ get();
}
public abstract PowerReporting get_CapPowerReporting();
public abstract function get CapPowerReporting() : PowerReporting;

Remarks

Identifies the reporting capabilities of the device. Possible values are defined by the PowerReporting enumeration. The device must be opened before this property can be read.

PowerReporting is initialized to PowerReporting.None. The service object should then set PowerReporting in the Open method, based on the capabilities of the device.

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
PowerState
PowerNotify