NewDiffWTDisk method of the WT_Disk class

Creates a new differencing virtual disk.

Windows Server 2012 R2:  This method is deprecated. Use CreateRamWTDisk, CreateVhdWTDisk, or ImportWTDisk instead.

Syntax


WT_Disk NewDiffWTDisk(
   string  DevicePath,
   string  ParentPath,
   string  Description,
   boolean CacheParent
);

Parameters

DevicePath

Full path to the VHD file.

ParentPath

Full path to the parent VHD file.

Description

An iSCSI disk friendly description.

CacheParent

Deprecated; do not use.

Remarks

If the Microsoft iSCSI Target Server service is running on a Microsoft Failover Cluster, a cluster resource is created to represent the new virtual disk (VHD). The cluster resource resides in the same resource group as the physical disk where the VHD is stored.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\Wmi

MOF

WmiWtProvider.mof

DLL

WtWmiProv.dll

See also

WT_Disk
CreateRamWTDisk
CreateVhdWTDisk
ImportWTDisk

 

 

Show: