Win32_SoftwareFeature, ROOT\CIMV2\ms_409

Class | Methods (2) | Properties (13) | Qualifiers (3) | Instances | 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,'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Configure method is in 2 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
Reinstall method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ReinstallModeuint160-{'Description':'Specifies the reinstall mode','in':True,'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.'
Values['Success', 'RPC Server Fault Error', 'Other']
Reinstall method is in 3 classes of ROOT\CIMV2\ms_409 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'
Accesses property is in 1 class (Win32_SoftwareFeature) of ROOT\CIMV2\ms_409 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'
Attributes property is in 6 classes of ROOT\CIMV2\ms_409 and in 11 namespaces
InstallState property
CIMTYPE'sint16'
Description'The installed state of the software feature.'
Values['Bad Configuration', 'Invalid Argument', 'Unknown Package', 'Advertised', 'Absent', 'Local', 'Source']
InstallState property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
LastUse property
CIMTYPE'datetime'
Description'Last time this SoftwareFeature was used'
LastUse property is in 1 class (Win32_SoftwareFeature) of ROOT\CIMV2\ms_409 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.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
Description property is in 329 classes of ROOT\CIMV2\ms_409 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
IdentifyingNumber property is in 8 classes of ROOT\CIMV2\ms_409 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.'
InstallDate property is in 223 classes of ROOT\CIMV2\ms_409 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
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
ProductName property
CIMTYPE'string'
Description'Commonly used product name'
keyTrue
ProductName property is in 7 classes of ROOT\CIMV2\ms_409 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.'
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 225 classes of ROOT\CIMV2\ms_409 and in 42 namespaces
Vendor property
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.'
Vendor property is in 8 classes of ROOT\CIMV2\ms_409 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
Version property is in 96 classes of ROOT\CIMV2\ms_409 and in 142 namespaces

Win32_SoftwareFeature Qualifiers

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

Win32_SoftwareFeature System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_SoftwareFeature'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___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:15
comments powered by Disqus
WUtils.com