Share via


AddToCluster method of the MSCluster_AvailableDisk class

Adds the available disk to the cluster.

Syntax

void AddToCluster(
  [in]  string ResourceName,
  [out] string Path
);

Parameters

ResourceName [in]

The optional resource name to use when adding the disk to the cluster.

**Windows Server 2008 R2 and Windows Server 2008: **

This parameter is not supported before Windows Server 2012.

Path [out]

The path to the created physical disk resource.

Return value

This method does not return a value.

Remarks

Customers need to run validation on a disk before adding it to a pool.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_AvailableDisk

MSCluster_AvailableDisk