WBEM_COMPARISON_FLAG enumeration (wbemcli.h)

Contains flags that define the comparison to perform when using the IWbemClassObject::CompareTo method.

Syntax

typedef enum tag_WBEM_COMPARISON_FLAG {
  WBEM_COMPARISON_INCLUDE_ALL,
  WBEM_FLAG_IGNORE_QUALIFIERS,
  WBEM_FLAG_IGNORE_OBJECT_SOURCE,
  WBEM_FLAG_IGNORE_DEFAULT_VALUES,
  WBEM_FLAG_IGNORE_CLASS,
  WBEM_FLAG_IGNORE_CASE,
  WBEM_FLAG_IGNORE_FLAVOR
} WBEM_COMPARISON_FLAG;

Constants

Name Description
WBEM_COMPARISON_INCLUDE_ALL Compare all features.
WBEM_FLAG_IGNORE_QUALIFIERS Ignore all qualifiers (including Key and Dynamic) in comparison.
WBEM_FLAG_IGNORE_OBJECT_SOURCE Ignore the source of the objects, namely the server and the namespace they came from, in comparison to other objects.
WBEM_FLAG_IGNORE_DEFAULT_VALUES Ignore default values of properties. This flag is only meaningful when comparing classes.
WBEM_FLAG_IGNORE_CLASS Assume that the objects being compared are instances of the same class. Consequently, this flag compares instance-related information only. Use this flag to optimize performance. If the objects are not of the same class, the results are undefined.
WBEM_FLAG_IGNORE_CASE Compare string values in a case-insensitive manner. This applies both to strings and to qualifier values. Property and qualifier names are always compared in a case-insensitive manner whether this flag is specified or not.
WBEM_FLAG_IGNORE_FLAVOR Ignore qualifier flavors. This flag still takes qualifier values into account, but ignores flavor distinctions such as propagation rules and override restrictions (for more information, see
Qualifier Flavors).

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header wbemcli.h