CIM_Location class

The CIM_Location class represents the position and address of a physical element.

[!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("{FAF76B67-798C-11D2-AAD1-006008C78BC7}"), AMENDMENT]
class CIM_Location
{
  string Address;
  string Name;
  string PhysicalPosition;
};

Members

The CIM_Location class has these types of members:

Properties

The CIM_Location class has these properties.

Address

Data type: string

Access type: Read-only

Qualifiers: MaxLen (1024)

Free-form string that indicates a street or other type of address for the physical element's location.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

Free-form string that defines a label for the location and is part of the key for the object.

PhysicalPosition

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

Free-form string that indicates the placement of a physical element. It can specify slot information on a hosting board, mounting site in a cabinet, or latitude and longitude information. It is part of the key of the CIM_Location object.

Remarks

WMI does not implement this class. For classes derived from CIM_Location, 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

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