Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WMIQuery.PropertyType

Queries data type of a property.

Component Version macOS Windows Linux Server iOS SDK
WMIQuery 5.2 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WMIQuery.PropertyType"; WMIQueryRef; Name )   More

Parameters

Parameter Description Example
WMIQueryRef The reference to the query. Create it with WMIQuery.New and destroy them with WMIQuery.Release. $ref
Name The name of the property to query. "test"

Result

Returns OK or error.

Description

Queries data type of a property.
The type can be prefixed with "Array" for arrays.
Common types include Null, Empty, Int32, Float64, Text and Boolean.

See also

Example Databases

This function checks for a license.

Created 22nd June 2015, last changed 22nd June 2015


WMIQuery.PropertyNames - WMIQuery.PropertyValue