PowerPersonality Property

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Gets a value that indicates the current power scheme.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.PowerManagement
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static PowerPersonality PowerPersonality { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property PowerPersonality As PowerPersonality
Visual C++
public:
static property PowerPersonality PowerPersonality {
	PowerPersonality get ();
}

Field Value

A PowerPersonality value.

Exceptions

ExceptionCondition
System..::.PlatformNotSupportedExceptionRequires Vista/Windows Server 2008.

See Also