AddToCluster method of the MSCluster_AvailableDisk class

Adds the available disk to the cluster.

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.

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 Datacenter, Windows Server 2008 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

MSCluster_AvailableDisk
MSCluster_AvailableDisk

 

 

Show:
© 2014 Microsoft