Deleting a Disk (Unlink)

The function to delete virtual disk files is VixDiskLib_Unlink(). It takes two arguments: a connection and a VMDK filename.

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