Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

MSCluster_ClusterSharedVolume class

The MSCluster_ClusterSharedVolume class is a dynamic WMI class that represents a cluster shared volume (CSV).

Note  The following object is available for use in Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2. It may be altered or unavailable in subsequent versions.

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 ("{15b2185f-3e18-4685-9136-5a3695ef62a6}")]class MSCluster_ClusterSharedVolume : MSCluster_LogicalElement
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Status;
  uint32   Flags;
  uint32   Characteristics;
  string   Name;
  string   VolumeName;
  uint32   FaultState;
  uint64   VolumeOffset;
  uint32   BackupState;
};

Members

The MSCluster_ClusterSharedVolume class has these types of members:

Methods

The MSCluster_ClusterSharedVolume class has these methods.

MethodDescription
MoveToNewHost

Moves the cluster shared volume to a another node. All volumes of this resource will also be moved.

TurnOffMaintenance

Takes the cluster shared volume out of maintenance mode.

TurnOffRedirectedAccess

Disables direct IO on the cluster shared volume.

TurnOnMaintenance

Places the cluster shared volume into maintenance mode.

TurnOnRedirectedAccess

Enables direct IO on the cluster shared volume.

 

Properties

The MSCluster_ClusterSharedVolume class has these properties.

BackupState
Data type: uint32
Access type: Read-only

Returns the backup state of the cluster shared volume.

None (0)
InProgress (1)
Caption
Data type: string
Access type: Read-only

Provides a short textual description of the object.

Inherited from CIM_LogicalElement.

Characteristics
Data type: uint32
Access type: Read/write

Provides the characteristics of the object. The cluster defines characteristics only for resources. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

Description
Data type: string
Access type: Read-only

Provides a textual description of the object.

Inherited from CIM_LogicalElement.

FaultState
Data type: uint32
Access type: Read-only

Returns the fault state of the cluster shared volume.

NoFaults (0)
NoDirectIO (1)
NoAccess (2)
Maintenance (4)
Flags
Data type: uint32
Access type: Read/write

Provides access to the flags set for the object. The cluster defines flags only for resources. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

InstallDate
Data type: datetime
Access type: Read-only

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

Inherited from CIM_LogicalElement.

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

Returns the friendly name of the cluster shared volume.

Inherited from CIM_LogicalElement.

Status
Data type: string
Access type: Read-only

Indicates the current status of the element.

Inherited from CIM_LogicalElement.

Values include the following:

"OK"

"Error"

"Degraded"

"Unknown"

"Pred Fail"

"Starting"

"Stopping"

"Service"

"Stressed"

"NonRecover"

"No Contact"

"Lost Comm"

VolumeName
Data type: string
Access type: Read-only

Returns the device Id of the cluster shared volume.

VolumeOffset
Data type: uint64
Access type: Read-only

Returns the volume offset of the cluster shared volume.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

Failover Cluster Provider Reference

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.