The CIM_LogicalDiskBasedOnPartition class associates a logical disk with the disk partition on which it resides.
For example, a computer's drive C can be located on a partition on local physical media, which dictates that a logical disk cannot span more than one partition. When a logical disk can span more than one partition, however, the logical disk is based on RAID configuration (for example, a mirror or stripe set). In which case, the logical disk is based on storage volume. To prevent using the CIM_LogicalDiskBasedOnPartition association incorrectly, the Max(1) qualifier was put on the Antecedent reference to the disk partition.
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("{8502C53F-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class CIM_LogicalDiskBasedOnPartition : CIM_BasedOn
{
uint64 EndingAddress;
uint64 StartingAddress;
CIM_LogicalDisk REF Dependent;
CIM_DiskPartition REF Antecedent;
};
Members
The CIM_LogicalDiskBasedOnPartition class has these types of members:
Properties
The CIM_LogicalDiskBasedOnPartition class has these properties.
Antecedent
Data type: CIM_DiskPartition
Access type: Read-only
Qualifiers: Override ("Antecedent"), Max (1)
A CIM_DiskPartition that describes the disk partition.
Dependent
Data type: CIM_LogicalDisk
Access type: Read-only
Qualifiers: Override ("Dependent")
A CIM_LogicalDisk that describes the logical disk which is built on the partition.
EndingAddress
Data type: uint64
Access type: Read-only
Indicates the end of the high-level extent in lower-level storage. This property is useful when mapping non-contiguous extents into a higher-level grouping.
For more information about using uint64 values in scripts, see Scripting in WMI.
This property is inherited from CIM_BasedOn.
StartingAddress
Data type: uint64
Access type: Read-only
Indicates the beginning of the high-level extent in lower-level storage.
For more information about using uint64 values in scripts, see Scripting in WMI.
This property is inherited from CIM_BasedOn.
Remarks
The CIM_LogicalDiskBasedOnPartition class is derived from CIM_BasedOn.
WMI does not implement this class. For classes derived from CIM_LogicalDiskBasedOnPartition, 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
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
