Expand Minimize

Win32_LogicalDiskToPartition class

The Win32_LogicalDiskToPartition association WMI class relates a logical disk drive and the disk partition it resides on.

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

[Provider("CIMWin32")]class Win32_LogicalDiskToPartition : CIM_LogicalDiskBasedOnPartition
{
  Win32_DiskPartition REF Antecedent;
  Win32_LogicalDisk   REF Dependent;
  uint64              EndingAddress;
  uint64              StartingAddress;
};

Members

The Win32_LogicalDiskToPartition class has these types of members:

Properties

The Win32_LogicalDiskToPartition class has these properties.

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

Reference to the instance representing the properties of a disk partition where the logical disk resides.

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

Reference to the instance representing the properties of a logical disk that resides on a physical disk partition.

EndingAddress
Data type: uint64
Access type: Read-only

Location in lower-level storage where the higher-level extent ends. This property is useful when mapping noncontiguous extents into a higher-level grouping.

For more information about using uint64 values in scripts, see Scripting in WMI.

StartingAddress
Data type: uint64
Access type: Read-only

Location in lower level storage where the higher level extent begins.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

The Win32_LogicalDiskToPartition class is derived from CIM_LogicalDiskBasedOnPartition.

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. All rights reserved.