Export (0) Print
Expand All
Expand Minimize

Win32_DiskDriveToDiskPartition class

The Win32_DiskDriveToDiskPartition association WMI class relates a disk drive and a partition existing on it.

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

[Provider("CIMWin32")]class Win32_DiskDriveToDiskPartition : CIM_MediaPresent
{
  Win32_DiskDrive     REF Antecedent;
  Win32_DiskPartition REF Dependent;
};

Members

The Win32_DiskDriveToDiskPartition class has these types of members:

Properties

The Win32_DiskDriveToDiskPartition class has these properties.

Antecedent
Data type: Win32_DiskDrive
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the properties of the disk drive where the partition exists.

Dependent
Data type: Win32_DiskPartition
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the disk partition residing on the disk drive.

Remarks

The Win32_DiskDriveToDiskPartition class is derived from CIM_MediaPresent.

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 client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Operating System Classes

 

 

Show:
© 2014 Microsoft