Partager via


ImportWTDisk method of the WT_Disk class

Import an existing VHD or SCSI device as a iSCSI virtual disk.

Syntax

WT_Disk ImportWTDisk(
  [in] string DevicePath,
  [in] string Description,
  [in] string ResourceGroup
);

Parameters

DevicePath [in]

Full path to an existing VHD file or a decorated path in the format of "SCSI:" to a pass-through SCSI device.

Description [in]

iSCSI disk description.

ResourceGroup [in]

Cluster resource group name (only needed to import a SCSI device in a cluster).

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Wmi
MOF
Wmiwtprovider.mof
DLL
WtWmiProv.dll

See also

WT_Disk