xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::windows::wmi::Object Class Referencefinal

A WMI object. More...

#include <xentara/utils/windows/wmi/Object.hpp>

Public Member Functions

 Object ()
 Default constructor.
 
internal auto property (const wchar_t *name) const -> com::Variant
 Gets a property of the object.
 

Detailed Description

A WMI object.

See also
ResultSet

Constructor & Destructor Documentation

◆ Object()

xentara::utils::windows::wmi::Object::Object ( )

Default constructor.

Creates an invalid object that mustbne assigned a valid object before being used.

Member Function Documentation

◆ property()

internal auto xentara::utils::windows::wmi::Object::property ( const wchar_t *  name) const -> com::Variant

Gets a property of the object.

Parameters
nameThe name of the property
Returns
The property value
Exceptions
std::runtime_erroran error occurred