SWbemObject class object. This parameter is the object with which the first object is compared. The object must be a valid SWbemObject instance.
iFlags [in, optional]
An integer that specifies additional flags to the operation. This parameter specifies the object characteristics to consider when object comparisons are made. You can use wbemComparisonFlagIncludeAll to consider all features (default) or any combination of the following values.
Causes all properties, qualifiers, and flavors to be compared.
Causes all qualifiers (including Key and Dynamic) to be ignored in comparison.
Causes the source of the objects, namely the server and the namespace they came from, to be ignored in comparison to other objects.
Causes the default values of properties to be ignored. This flag is only meaningful when comparing classes.
Instructs the system to 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.
Causes string values to be compared 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.
Causes qualifier flavors to be ignored. This flag still takes qualifier values into account, but ignores flavor distinctions such as propagation rules and override restrictions.
CompareTo_ method returns the Boolean value TRUE if the objects match; otherwise, it returns FALSE.
Upon the completion of the
CompareTo_ method, the
Err object may contain one of the error codes in the following table.