Expand Minimize
2 out of 2 rated this helpful - Rate this topic

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

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.