Unmounts drive from the local file system.
In the following example WebDAV drive is unmounted from local file system using Service API.
IDriveServiceManager manager = DriveManager.GetManager();
manager.RemoveDrive('z');
IDriveServiceManager Interface | ITHit.MapWebDAVDrive.ServiceClient Namespace