virtualdrives DeleteDrive property
Return to Introduction  Previous page  Next page
Applies to
dcVirtualDrives component.  

Declaration
function DeleteDrive(Drive: Char): Boolean;  
   // Returns True if successful  

Description
The DeleteDrive method used to delete the virtual drive from file system. The Drive parameter specifies the first letter of existing virtual drive. Function returns True if succeeded or False otherwise.  

Example
dcVirtualDrives1.DeleteDrive('Z');  

See also
AddDrive method;  
Drive, Target and VirtualDrives properties.