Win32_SoftwareFeature, ROOT\CIMV2

Class | Methods (2) | Properties (13) | Qualifiers (6) | Instances (40) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

SoftwareFeatures and SoftwareElements: A 'SoftwareFeature' is a distinct subset of a Product, consisting of one or more 'SoftwareElements'. Each SoftwareElement is defined in a Win32_SoftwareElement instance, and the association between a feature and its SoftwareFeature(s) is defined in the Win32_SoftwareFeatureSoftwareElement Association. Any component can be 'shared' between two or more SoftwareFeatures. If two or more features reference the same component, that component will be selected for installation if any of these features are selected.

Win32_SoftwareFeature methods

Win32_SoftwareFeature has 2 methods (2 Local)

NameOriginReturn
ConfigureWin32_SoftwareFeatureuint32 {'out':True}
ReinstallWin32_SoftwareFeatureuint32 {'out':True}

Win32_SoftwareFeature properties

Win32_SoftwareFeature has 13 properties (4 Local, 9 Derived)

NameOriginCIMType
AccessesWin32_SoftwareFeature18 [uint16]
AttributesWin32_SoftwareFeature18 [uint16]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
key
IdentifyingNumber
CIM_SoftwareFeature8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
InstallStateWin32_SoftwareFeature2 [sint16]
LastUseWin32_SoftwareFeature101 [datetime]
key
Name
CIM_ManagedSystemElement8 [string]
key
ProductName
CIM_SoftwareFeature8 [string]
StatusCIM_ManagedSystemElement8 [string]
VendorCIM_SoftwareFeature8 [string]
key
Version
CIM_SoftwareFeature8 [string]

Detailed description of Win32_SoftwareFeature methods

Local methods (2) of Win32_SoftwareFeature class

Configure method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InstallStateuint160-{'in':True,'Valuemap':['1', '2', '3', '4', '5'],'Values':['Default', 'Advertise', 'Local', 'Absent', 'Source']}
Description'This method will configure the associated instance of Win32_SoftwareFeature to the specified install state. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Configure method is in 2 classes of ROOT\cimv2 and in 4 namespaces
Reinstall method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ReinstallModeuint160-{'Description':'Specifies the reinstall mode','in':True,'Valuemap':['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],'Values':['FileMissing', 'FileOlderVersion', 'FileEqualVersion', 'FileExact', 'FileVerify', 'FileReplace', 'UserData', 'MachineData', 'Shortcut', 'Package']}
Description'This method will reinstall the associated instance of Win32_SoftwareFeature using the specified reinstallation mode. The method can return the following values:
0 - Success.
2147549445 - RPC Server Fault Error.
Other - For integer values other than those listed above, refer to the documentation on error codes returned by the Windows Installer API and the Win32 error codes.'
ImplementedTrue
ValueMap['0', '2147549445', '..']
Values['Success', 'RPC Server Fault Error', 'Other']
Reinstall method is in 3 classes of ROOT\cimv2 and in 2 namespaces

Detailed description of Win32_SoftwareFeature properties

Local properties (4) of Win32_SoftwareFeature class

Accesses property
CIMTYPE'uint16'
Description'Number of times this SoftwareFeature has been used'
readTrue
Accesses property is in 1 class (Win32_SoftwareFeature) of ROOT\cimv2 and in 2 namespaces
Attributes property
CIMTYPE'uint16'
Description'Remote execution option, one of irsEnum: ifrsFavorLocal = 0: Install components locally, if possible ifrsFavorSource = 1: Install components to run from the source CD/Server, if possible ifrsFollowParent = 2: Follow the remote execution option of the parent feature'
readTrue
Attributes property is in 7 classes of ROOT\cimv2 and in 11 namespaces
InstallState property
CIMTYPE'sint16'
Description'The installed state of the software feature.'
readTrue
ValueMap['-6', '-2', '-1', '1', '2', '3', '4']
Values['Bad Configuration', 'Invalid Argument', 'Unknown Package', 'Advertised', 'Absent', 'Local', 'Source']
InstallState property is in 4 classes of ROOT\cimv2 and in 2 namespaces
LastUse property
CIMTYPE'datetime'
Description'Last time this SoftwareFeature was used'
readTrue
LastUse property is in 1 class (Win32_SoftwareFeature) of ROOT\cimv2 and in 2 namespaces

Derived properties (9) of Win32_SoftwareFeature class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
IdentifyingNumber property
CIMTYPE'string'
Description'Product identification such as a serial number on software or a die number on a hardware chip'
keyTrue
MappingStrings['DMTF|ComponentID|001.4']
Maxlen64
Propagated'CIM_Product.IdentifyingNumber'
readTrue
IdentifyingNumber property is in 8 classes of ROOT\cimv2 and in 4 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property defines the label by which the object is known to the world outside the data processing system. This label is a human-readable name that uniquely identifies the element in the context of the element's namespace.'
keyTrue
Maxlen256
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
ProductName property
CIMTYPE'string'
Description'Commonly used product name'
keyTrue
MappingStrings['DMTF|ComponentID|001.2']
Maxlen256
Propagated'CIM_Product.Name'
readTrue
ProductName property is in 10 classes of ROOT\cimv2 and in 6 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
Vendor property
CIM_KeyTrue
CIMTYPE'string'
Description'The name of the product's supplier. Corresponds to the Vendor property in the product object in the DMTF Solution Exchange Standard.'
MappingStrings['DMTF|ComponentID|001.1']
Maxlen256
Propagated'CIM_Product.Vendor'
readTrue
Vendor property is in 8 classes of ROOT\cimv2 and in 6 namespaces
Version property
CIMTYPE'string'
Description'Product version information. Corresponds to the Version property in the product object in the DMTF Solution Exchange Standard.'
keyTrue
MappingStrings['DMTF|ComponentID|001.3']
Maxlen64
Propagated'CIM_Product.Version'
readTrue
Version property is in 101 classes of ROOT\cimv2 and in 142 namespaces

Win32_SoftwareFeature Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'SoftwareFeatures and SoftwareElements: A 'SoftwareFeature' is a distinct subset of a Product, consisting of one or more 'SoftwareElements'. Each SoftwareElement is defined in a Win32_SoftwareElement instance, and the association between a feature and its SoftwareFeature(s) is defined in the Win32_SoftwareFeatureSoftwareElement Association. Any component can be 'shared' between two or more SoftwareFeatures. If two or more features reference the same component, that component will be selected for installation if any of these features are selected.'
dynamicTrue
Locale1033
MappingStrings['Microsoft.MSI']
provider'MSIProv'
UUID'{A7A5AEBA-E3D2-11d2-8601-0000F8102E5F}'

Win32_SoftwareFeature System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_SoftwareFeature'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_SoftwareFeature', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT13___SYSTEM3
__RELPATH'Win32_SoftwareFeature'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_SoftwareFeature'___SYSTEM8
__CLASS'Win32_SoftwareFeature'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_SoftwareFeature

Number of classes:22
comments powered by Disqus
WUtils.com