BACK TO INDEX

Win32_Condition
The Condition class can be used to modify the selection state of any entry in the Feature class, based on a conditional expression. If Condition evaluates to True, the corresponding Level value in the Feature class will be set to the value specified in the Condition class's Level column. Using this mechanism, any feature can be permanently disabled (by setting the Level to 0), set to be always installed (by setting the Level to 1), or set to a different install priority (by setting Level to an intermediate value). The Level may be set based upon any conditional statement, such as a test for platform, operating system, a particular property setting, etc.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
CaptionStringNA
CheckIDStringAn identifier used in conjunction with other keys to uniquely identify the check
CheckModeBoolean The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false
ConditionStringA conditional statement which evaluates to TRUE or FALSE to determine whether the Level value should be applied to the associated software feature.
DescriptionString A description of the objects.
FeatureStringThe name of the feature within the associated product to which this condition applies.
LevelUInt16The install level for the associated software feature if condition evaluates to TRUE.
NameStringThe name used to identify this software element
SoftwareElementIDString This is an identifier for this software element.
SoftwareElementStateUInt16 The software element state of a software element
TargetOperatingSystemUInt16 The target operating system of the this software element.
VersionStringVersion should be in the form .. or .
SAMPLE DATA INSTANCE
   Timed out