xentara-utils v2.0.4
The Xentara Utility Library
|
A connection to a WMI namespace on the local machine. More...
#include <xentara/utils/windows/wmi/Namespace.hpp>
Public Member Functions | |
Namespace () | |
Default constructor. | |
internal | operator bool () const noexcept |
Checks if the object is valid. | |
auto | query (const wchar_t *query) const -> ResultSet |
Executes a query. | |
A connection to a WMI namespace on the local machine.
xentara::utils::windows::wmi::Namespace::Namespace | ( | ) |
Default constructor.
Creates an invalid object that must be assigned a valid object before being used.
|
explicitnoexcept |
Checks if the object is valid.
auto xentara::utils::windows::wmi::Namespace::query | ( | const wchar_t * | query | ) | const -> ResultSet |
Executes a query.
std::runtime_error | En error occurred executing the query. |