Win32_Condition, ROOT\CIMV2\ms_409

Class | Methods (1) | Properties (11) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

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.

Win32_Condition methods

Win32_Condition has 1 methods (1 Derived)

NameOriginReturn
InvokeCIM_Checkuint32 {'out':True}

Win32_Condition properties

Win32_Condition has 11 properties (3 Local, 8 Derived)

NameOriginCIMType
key
CheckID
CIM_Check8 [string]
CheckModeCIM_Check11 [boolean]
ConditionWin32_Condition8 [string]
DescriptionCIM_Check8 [string]
FeatureWin32_Condition8 [string]
LevelWin32_Condition18 [uint16]
NameCIM_Check8 [string]
SoftwareElementIDCIM_Check8 [string]
SoftwareElementStateCIM_Check18 [uint16]
TargetOperatingSystemCIM_Check18 [uint16]
VersionCIM_Check8 [string]

Detailed description of Win32_Condition methods

Derived methods (1) of Win32_Condition class

▲ Invoke method
Returnuint32 {'out':True}
Description' The invoke method is to evaluate a particular check. The details of how the method evaluates a particular check in a CIM context is described by the non-abstract CIM_Check sub classes. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied. '
Invoke method is in 48 classes of ROOT\CIMV2\ms_409 and in 4 namespaces

Detailed description of Win32_Condition properties

Local properties (3) of Win32_Condition class

▲ Condition property
CIMTYPE'string'
Description'A conditional statement which evaluates to TRUE or FALSE to determine whether the Level value should be applied to the associated software feature.'
Condition property is in 3 classes of ROOT\CIMV2\ms_409 and in 5 namespaces
▲ Feature property
CIMTYPE'string'
Description'The name of the feature within the associated product to which this condition applies.'
Feature property is in 1 class (Win32_Condition) of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ Level property
CIMTYPE'uint16'
Description'The install level for the associated software feature if condition evaluates to TRUE.'
Level property is in 4 classes of ROOT\CIMV2\ms_409 and in 12 namespaces

Derived properties (8) of Win32_Condition class

▲ CheckID property
CIMTYPE'string'
Description'An identifier used in conjunction with other keys to uniquely identify the check'
keyTrue
CheckID property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ CheckMode property
CIMTYPE'boolean'
Description' 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 '
CheckMode property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ Description property
CIMTYPE'string'
Description' A description of the objects.'
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
▲ Name property
CIMTYPE'string'
Description'The name used to identify this software element'
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
▲ SoftwareElementID property
CIMTYPE'string'
Description' This is an identifier for this software element.'
SoftwareElementID property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ SoftwareElementState property
CIMTYPE'uint16'
Description' The software element state of a software element '
Values['Deployable', 'Installable', 'Executable', 'Running']
SoftwareElementState property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ TargetOperatingSystem property
CIMTYPE'uint16'
Description' The target operating system of the this software element.'
Values['Unknown', 'Other', 'MACOS', 'ATTUNIX', 'DGUX', 'DECNT', 'Digital Unix', 'OpenVMS', 'HPUX', 'AIX', 'MVS', 'OS400', 'OS/2', 'JavaVM', 'MSDOS', 'WIN3x', 'WIN95', 'WIN98', 'WINNT', 'WINCE', 'NCR3000', 'NetWare', 'OSF', 'DC/OS', 'Reliant UNIX', 'SCO UnixWare', 'SCO OpenServer', 'Sequent', 'IRIX', 'Solaris', 'SunOS', 'U6000', 'ASERIES', 'TandemNSK', 'TandemNT', 'BS2000', 'LINUX', 'Lynx', 'XENIX', 'VM/ESA', 'Interactive UNIX', 'BSDUNIX', 'FreeBSD', 'NetBSD', 'GNU Hurd', 'OS9', 'MACH Kernel', 'Inferno', 'QNX', 'EPOC', 'IxWorks', 'VxWorks', 'MiNT', 'BeOS', 'HP MPE', 'NextStep', 'PalmPilot', 'Rhapsody', 'Windows 2000', 'Dedicated', 'VSE', 'TPF']
TargetOperatingSystem property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ Version property
CIMTYPE'string'
Description'Version should be in the form .. or .'
Version property is in 96 classes of ROOT\CIMV2\ms_409 and in 142 namespaces

Win32_Condition Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue✗✗✓✗✓
Description'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.'✗✓✓✗✓
LOCALE1033✓✗✓✗✓

Win32_Condition System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_Condition'___SYSTEM8✗✗
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8✗✗
__SERVER'.'___SYSTEM8✗✗
__DERIVATION['CIM_Check']___SYSTEM8✗✓
__PROPERTY_COUNT11___SYSTEM3✗✗
__RELPATH'Win32_Condition'___SYSTEM8✗✗
__DYNASTY'CIM_Check'___SYSTEM8✗✗
__SUPERCLASS'CIM_Check'___SYSTEM8✗✗
__CLASS'Win32_Condition'___SYSTEM8✗✗
__GENUS1___SYSTEM3✗✗

Similar Classes to Win32_Condition

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_LaunchCondition091----
Win32_SoftwareElementCondition091999---
comments powered by Disqus
WUtils.com