IDriveServiceManager.RemoveDrive Method 

IT Hit WebDAV for .NET

Unmounts drive from the local file system.

[Visual Basic]
Sub RemoveDrive( _
   ByVal driveLetter As Char _
)
[C#]
void RemoveDrive(
   char driveLetter
);

Parameters

driveLetter
Drive letter of the drive to be unmounted.

Example

In the following example WebDAV drive is unmounted from local file system using Service API.

                
IDriveServiceManager manager = DriveManager.GetManager();
manager.RemoveDrive('z');
                
            

See Also

IDriveServiceManager Interface | ITHit.MapWebDAVDrive.ServiceClient Namespace