Share via


Resize method of the WT_Disk class

Resize iSCSI virtual disk. When the Shrink parameter is TRUE, Resize will do reduction with reduction size DeltaInMB. When Shrink parameter is FALSE, Resize will do expansion with DeltaInMB as additional size. By default, Shrink is FALSE.

Syntax

void Resize(
  [in] uint32  DeltaInMB,
  [in] boolean Shrink
);

Parameters

DeltaInMB [in]

iSCSI Disk Resize increment (MB)

Shrink [in]

Whether to reduce or expand virtual disk.

Return value

This method does not return a value.

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