IsUpsPresent Property

Vista Bridge Library

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

Gets a value that indicates a UPS is present to prevent sudden loss of power.

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 bool IsUpsPresent { get; }
Visual Basic (Declaration)
Public Shared ReadOnly Property IsUpsPresent As Boolean
Visual C++
public:
static property bool IsUpsPresent {
	bool get ();
}

Field Value

A Boolean value.

Exceptions

ExceptionCondition
System..::.PlatformNotSupportedExceptionRequires XP/Windows Server 2003 or higher.

See Also