Unlink Extents to Remove Disk

VixDiskLib_Unlink() deletes all extents of the specified virtual disk, which unlinks (removes) the disk data. This is similar to the remove or erase command in a command tool.

vixError = VixDiskLib_Unlink(appGlobals.connection, appGlobals.diskPath);