共用方式為


CreateStorageResource method of the MSCluster_AvailableDisk class

Creates the available disk storage resource.

Syntax

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

Parameters

ResourceName [in]

The optional resource name to use when creating the storage resource.

Path [out]

The path to the created physical disk resource.

Return value

This method does not return a value.

Requirements

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

See also

MSCluster_AvailableDisk