Szerkesztés

Megosztás a következőn keresztül:


CIM_SoftwareFeature class

The CIM_SoftwareFeature class represents a particular function or capability of a product or application system. This class reflects a level of granularity that is meaningful to a user of a product rather than the units that reflect how the product is built or packaged (captured using a CIM_SoftwareElement class). When a software feature can exist on multiple platforms or operating systems, the software feature is a collection of the software elements for the different platforms. In which case, the users of the model will be typically interested in a sub-collection of the software elements required for a particular platform. Because features are delivered through products, software features are always defined in the context of a CIM_Product class using the CIM_ProductSoftwareFeatures association. Optionally, software features from one or more products can be organized into application systems using the CIM_ApplicationSystemSoftwareFeature association.

Important

The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[UUID("{E527D7F2-E3D4-11d2-8601-0000F8102E5F}"), abstract, AMENDMENT]
class CIM_SoftwareFeature : CIM_LogicalElement
{
  string   Caption;
  string   Description;
  string   IdentifyingNumber;
  datetime InstallDate;
  string   Name;
  string   ProductName;
  string   Status;
  string   Vendor;
  string   Version;
};

Members

The CIM_SoftwareFeature class has these types of members:

Properties

The CIM_SoftwareFeature class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

Short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

IdentifyingNumber

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_Product.IdentifyingNumber"), Key, Maxlen (64), MappingStrings ("DMTF|ComponentID|001.4")

Product identification, such as a serial number on software or a die number on a hardware chip.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

This property is inherited from CIM_ManagedSystemElement.

Name

Data type: string

Access type: Read-only

Qualifiers: key, override ("Name"), Maxlen (256)

Label by which the object is known outside of the data processing system. The label is a human-readable name that uniquely identifies the element in the context of the element's namespace.

This property is inherited from CIM_ManagedSystemElement.

ProductName

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_Product.Name"), Key, Maxlen (256), MappingStrings ("DMTF|ComponentID|001.2")

Commonly used product name.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

Current status of the object.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Vendor

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_Product.Vendor"), CIM_Key, Maxlen (256), MappingStrings ("DMTF|ComponentID|001.1")

Name of the product's supplier, which corresponds to the Vendor property in the product object of the DMTF Solution Exchange Standard.

Version

Data type: string

Access type: Read-only

Qualifiers: Propagated ("CIM_Product.Version"), Key, Maxlen (64), MappingStrings ("DMTF|ComponentID|001.3")

Product version information, which corresponds to the Version property in the product object of the DMTF Solution Exchange Standard.

Remarks

The CIM_SoftwareFeature class is derived from CIM_LogicalElement.

WMI does not implement this class. For WMI classes derived from CIM_SoftwareFeature, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_LogicalElement