Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 = 0,
WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,
WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,
WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4,
WBEM_FLAG_IGNORE_CLASS = 0x8,
WBEM_FLAG_IGNORE_CASE = 0x10,
WBEM_FLAG_IGNORE_FLAVOR = 0x20
} WBEM_COMPARISON_FLAG;
Constants
WBEM_COMPARISON_INCLUDE_ALL Value: 0 Compare all features. |
WBEM_FLAG_IGNORE_QUALIFIERS Value: 0x1 Ignore all qualifiers (including Key and Dynamic) in comparison. |
WBEM_FLAG_IGNORE_OBJECT_SOURCE Value: 0x2 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 Value: 0x4 Ignore default values of properties. This flag is only meaningful when comparing classes. |
WBEM_FLAG_IGNORE_CLASS Value: 0x8 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 Value: 0x10 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 Value: 0x20 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | wbemcli.h |