Win32 Classes


Win32_SystemMemoryResource Class

The Win32_SystemMemoryResource abstract WMI class represents a system memory resource on a computer system running Windows.

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

Syntax

class Win32_SystemMemoryResource : CIM_MemoryMappedIO
{
  string   Caption;
  string   CreationClassName;
  string   CSCreationClassName;
  string   CSName;
  string   Description;
  uint64   EndingAddress;
  datetime InstallDate;
  string   Name;
  uint64   StartingAddress;
  string   Status;
};

Methods

The Win32_SystemMemoryResource class does not define any methods.

Properties

The Win32_SystemMemoryResource class defines the following properties.

Caption
Data type: string
Access type: Read-only
Qualifiers: MaxLen(64)

Short description of an object—a one-line string. This property is inherited from CIM_ManagedSystemElement.

CreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen(256)

Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with other key properties of a class, this property allows all instances of the class and its subclasses to be identified uniquely. This property is inherited from CIM_MemoryMappedIO.

CSCreationClassName
Data type: string
Access type: Read-only
Qualifiers: MaxLen(64)

Creation class name of the scoping computer system. This property is inherited from CIM_MemoryMappedIO.

CSName
Data type: string
Access type: Read-only
Qualifiers: MaxLen(256)

Name of the scoping computer system. This property is inherited from CIM_MemoryMappedIO.

Description
Data type: string
Access type: Read-only

Description of the object. This property is inherited from CIM_ManagedSystemElement.

EndingAddress
Data type: uint64
Access type: Read-only

Ending address of memory mapped I/O. This property is inherited from CIM_MemoryMappedIO.

For more information about using uint64 values in scripts, see Scripting in WMI.

InstallDate
Data type: datetime
Access type: Read-only

Date and time an object is 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

Label for the object. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.

StartingAddress
Data type: uint64
Access type: Read-only

Starting address of memory mapped I/O. The hardware resource identifier property should be set to this value to construct the mapped I/O resource key. This property is inherited from CIM_MemoryMappedIO.

For more information about using uint64 values in scripts, see Scripting in WMI.

Status
Data type: string
Access type: Read-only
Qualifiers: MaxLen(10)

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "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 online, yet the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.

The values are:

"OK"
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"
"Stressed"
"NonRecover"
"No Contact"
"Lost Comm"

Remarks

The Win32_SystemMemoryResource class is derived from CIM_MemoryMappedIO.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
MOFCimwin32.mof
DLLCimwin32.dll
Namespace\root\cimv2

See Also

Computer System Hardware Classes

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags :


Page view tracker