예제 #1
0
 public void MountVirtualDisk(string path, bool assignDriveLetter, bool readOnly)
 {
     using (IImageManagementService managementService = ImageManagementService.GetImageManagementService(this._Host))
         managementService.AttachVirtualHardDisk(path, assignDriveLetter, readOnly);
 }
예제 #2
0
 public void MountVirtualDisk(string path)
 {
     using (IImageManagementService managementService = ImageManagementService.GetImageManagementService(this._Host))
         managementService.AttachVirtualHardDisk(path, false, false);
 }