Düzenle

Aracılığıyla paylaş


CIM_Card class

The CIM_Card class represents a type of physical container that can be plugged into another card or hosting board, or is itself a hosting board/motherboard in a chassis. This class includes any package that is capable of carrying signals and providing a mounting point for physical components, such as chips or other physical packages, such as other cards.

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 inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[abstract, UUID("{FAF76B76-798C-11D2-AAD1-006008C78BC7}"), AMENDMENT]
class CIM_Card : CIM_PhysicalPackage
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  string   CreationClassName;
  string   Manufacturer;
  string   Model;
  string   OtherIdentifyingInfo;
  string   PartNumber;
  boolean  PoweredOn;
  string   SerialNumber;
  string   SKU;
  string   Tag;
  string   Version;
  real32   Depth;
  real32   Height;
  boolean  HotSwappable;
  boolean  Removable;
  boolean  Replaceable;
  real32   Weight;
  real32   Width;
  boolean  HostingBoard;
  string   RequirementsDescription;
  boolean  RequiresDaughterBoard;
  string   SlotLayout;
  boolean  SpecialRequirements;
};

Members

The CIM_Card class has these types of members:

Methods

The CIM_Card class has these methods.

Method Description
IsCompatible Verifies whether the referenced physical element may be contained by or inserted into the physical package. Not implemented by WMI.

Properties

The CIM_Card class has these properties.

Caption

Data type: string

Access type: Read-only

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

A short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified.

This property is inherited from CIM_PhysicalElement.

Depth

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Depth of the physical package, in inches.

This property is inherited from CIM_PhysicalPackage.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

A textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

Height

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Height of the physical package, in inches.

This property is inherited from CIM_PhysicalPackage.

HostingBoard

Data type: boolean

Access type: Read-only

If TRUE, this card is a motherboard or, more generically, a baseboard in a chassis.

HotSwappable

Data type: boolean

Access type: Read-only

If TRUE, the package can be hot-swapped. A physical package can be hot-swapped if the element can be replaced by a physically different (but equivalent) one while the containing package is turned on. For example, a fan component may be designed to be hot-swapped. All components that can be hot-swapped are inherently removable and replaceable.

This property is inherited from CIM_PhysicalPackage.

InstallDate

Data type: datetime

Access type: Read-only

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

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.

This property is inherited from CIM_ManagedSystemElement.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Name of the organization responsible for producing the physical element. For more information, see the Vendor property of CIM_Product.

This property is inherited from CIM_PhysicalElement.

Model

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Name by which the physical element is generally known.

This property is inherited from CIM_PhysicalElement.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

Label by which the object is known. When subclassed, this property can be overridden to be a key property.

This property is inherited from CIM_ManagedSystemElement.

OtherIdentifyingInfo

Data type: string

Access type: Read-only

Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar-code data that is associated with an element, which also has an asset tag. Note that if only bar-code data is available, and is unique and able to be used as an element key, this property would be null and the bar-code data would be used as the class key in the Tag property.

This property is inherited from CIM_PhysicalElement.

PartNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Part number assigned by the organization responsible for producing or manufacturing the physical element.

This property is inherited from CIM_PhysicalElement.

PoweredOn

Data type: boolean

Access type: Read-only

If TRUE, the physical element is powered on. Otherwise, it is currently off.

This property is inherited from CIM_PhysicalElement.

Removable

Data type: boolean

Access type: Read-only

If TRUE, the package is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A package is considered removable even if the power must be off to perform the removal. If the power can be on and the package removed, then the element is removable and can be hot-swapped. For example, an upgradeable processor chip is removable.

This property is inherited from CIM_PhysicalPackage.

Replaceable

Data type: boolean

Access type: Read-only

If TRUE, it is possible to replace the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. All removable components are inherently replaceable.

This property is inherited from CIM_PhysicalPackage.

RequirementsDescription

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Card.SpecialRequirements")

Free-form string that describes the ways in which the card is physically unique from other cards. This property only has meaning when the corresponding Boolean property, SpecialRequirements, is set to TRUE.

RequiresDaughterBoard

Data type: boolean

Access type: Read-only

If TRUE, to function properly, at least one daughterboard or auxiliary card is required.

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Manufacturer-allocated number used to identify the physical element.

This property is inherited from CIM_PhysicalElement.

SKU

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Stock-keeping unit number for this physical element.

This property is inherited from CIM_PhysicalElement.

SlotLayout

Data type: string

Access type: Read-only

Free-form string that describes the slot positioning, typical usage, restrictions, individual slot spacings, or other pertinent information for the slots on a card.

SpecialRequirements

Data type: boolean

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_Card.RequirementsDescription")

If TRUE, the card is physically unique from other cards of the same type and, therefore, requires a special slot. For example, a double-wide card requires two slots. Another example is when a certain card can be used for the same general function as other cards, but requires a special slot (extra long, for example); whereas, other cards can be placed in any available slot. If TRUE, the corresponding RequirementsDescription property should specify the nature of the uniqueness or purpose of the card.

Status

Data type: string

Access type: Read-only

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

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states.

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")

Tag

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

Uniquely identifies the physical element and serves as the element's key. This property can contain information, such as asset tag or serial number data. The key for CIM_PhysicalElement is placed very high in the object hierarchy to independently identify the hardware or entity, regardless of physical placement in (or on) cabinets, adapters, and so on. For example, a removable component that can be hot-swapped can be taken from its containing (scoping) package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. The key for a physical element is an arbitrary string that is defined independently of placement or location-oriented hierarchy.

This property is inherited from CIM_PhysicalElement.

Version

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Indicates the version of the physical element.

This property is inherited from CIM_PhysicalElement.

Weight

Data type: real32

Access type: Read-only

Qualifiers: Units ("pounds")

Weight of the physical package, in pounds.

This property is inherited from CIM_PhysicalPackage.

Width

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Width of the physical package, in inches.

This property is inherited from CIM_PhysicalPackage.

Remarks

The CIM_Card class is derived from CIM_PhysicalPackage.

WMI does not implement this class. For more information about classes derived from CIM_Card, 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_PhysicalPackage