Expand Minimize

MSCluster_DiskPartition class

A dynamic WMI class that represents a disk partition.

Windows Server 2008 R2, and Windows Server 2008:  

Before Windows Server 2012 this class inherited directly from MSCluster_LogicalElement. Beginning in Windows Server 2012 it inherits from MSCluster_ClusterDiskPartition and does not add any properties of its own.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider ("MS_CLUSTER_PROVIDER"), UUID  ("{A514C185-BE72-4C75-8225-FF1A4FFAA7C8}")]class MSCluster_DiskPartition : MSCluster_ClusterDiskPartition
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  uint32   Flags;
  uint32   Characteristics;
  string   Path;
  string   VolumeLabel;
  uint32   SerialNumber;
  uint32   MaximumComponentLength;
  uint32   FileSystemFlags;
  string   FileSystem;
  uint32   TotalSize;
  uint32   FreeSpace;
  uint32   PartitionNumber;
  string   VolumeGuid;
  string   MountPoints[];
};

Members

The MSCluster_DiskPartition class has these types of members:

Properties

The MSCluster_DiskPartition class has these properties.

Caption
Data type: string
Access type: Read-only

Provides a short textual description of the disk partition.

Inherited from MSCluster_LogicalElement.

Characteristics
Data type: uint32
Access type: Read-only

Provides the characteristics of the disk partition. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

Description
Data type: string
Access type: Read-only

Provides a textual description of the disk partition.

Inherited from MSCluster_LogicalElement.

FileSystem
Data type: string
Access type: Read-only

Provides access to the FileSystem property, which is the file system defined for the partition.

Inherited from MSCluster_ClusterDiskPartition.

FileSystemFlags
Data type: uint32
Access type: Read-only

Provides access to the FileSystemFlags property, which is any descriptive flags set for the partition's file system.

Inherited from MSCluster_ClusterDiskPartition.

Values include the following:

ValuesMeaning
1

The file system supports case-sensitive file names.

2

The file system preserves the case of file names when it places a name on the storage class resource.

4

The file system supports Unicode in file names as they appear on storage class resource.

8

The file system preserves and enforces access control lists (ACLs).

 

Flags
Data type: uint32
Access type: Read-only

Provides access to the flags set for the disk partition. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

FreeSpace
Data type: uint32
Access type: Read-only

Provides the total space available for the partition, in megabytes.

Inherited from MSCluster_ClusterDiskPartition.

InstallDate
Data type: datetime
Access type: Read-only

Indicates when the disk partition was installed. A lack of a value does not indicate that the element is not installed.

Inherited from MSCluster_LogicalElement.

MaximumComponentLength
Data type: uint32
Access type: Read-only

Provides access to the MaximumComponentLength property, which is the maximum file name component length, in characters, allowed by the partition's file system.

Inherited from MSCluster_ClusterDiskPartition.

MountPoints
Data type: string array
Access type: Read-only

The mount points of the partition.

Inherited from MSCluster_ClusterDiskPartition.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is not supported before Windows Server 2012.

Name
Data type: string
Access type: Read-only

Defines the label by which the disk partition is known.

Inherited from MSCluster_LogicalElement.

PartitionNumber
Data type: uint32
Access type: Read-only

Provides the partition number of the partition.

Inherited from MSCluster_ClusterDiskPartition.

Path
Data type: string
Access type: Read-only
Qualifiers: Key

Provides the path (including the drive letter if present) of the clustered disk partition.

Inherited from MSCluster_ClusterDiskPartition.

SerialNumber
Data type: uint32
Access type: Read-only

Provides access to the SerialNumber property, which is the partition serial number.

Inherited from MSCluster_ClusterDiskPartition.

Status
Data type: string
Access type: Read-only

Indicates the current status of the disk partition.

Inherited from MSCluster_LogicalElement.

Values include the following:

"OK"

"Error"

"Degraded"

"Unknown"

"Pred Fail"

"Starting"

"Stopping"

"Service"

"Stressed"

"NonRecover"

"No Contact"

"Lost Comm"

TotalSize
Data type: uint32
Access type: Read-only

Provides the total size for the partition, in megabytes.

Inherited from MSCluster_ClusterDiskPartition.

VolumeGuid
Data type: string
Access type: Read-only

Provides the volume GUID of the partition.

Inherited from MSCluster_ClusterDiskPartition.

VolumeLabel
Data type: string
Access type: Read-only
Qualifiers: Read

Provides access to the VolumeLabel property, which is the volume label of the partition.

Inherited from MSCluster_ClusterDiskPartition.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

Failover Cluster Provider Reference

 

 

Show:
© 2014 Microsoft