The Win32_SystemPartitions association WMI class relates a computer system and a disk partition on that system.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
[Dynamic, Provider("CIMWin32"), UUID("{8502C4F5-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_SystemPartitions : Win32_SystemDevices
{
Win32_ComputerSystem REF GroupComponent;
Win32_DiskPartition REF PartComponent;
};
Members
The Win32_SystemPartitions class has these types of members:
Properties
The Win32_SystemPartitions class has these properties.
GroupComponent
Data type: Win32_ComputerSystem
Access type: Read-only
Qualifiers: Override ("GroupComponent"), MappingStrings ("WMI|Win32_ComputerSystem")
Reference to the instance representing the properties of the computer system where the disk partition is located.
PartComponent
Data type: Win32_DiskPartition
Access type: Read-only
Qualifiers: Override ("PartComponent"), MappingStrings ("WMI|Win32_DiskPartition")
Reference to the instance representing the properties of a disk partition that exists on the computer system.
Remarks
The Win32_SystemPartitions class is derived from Win32_SystemDevices.
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.
