EldoS
 Table of Contents >  CBDisk.DeleteStorage method
Navigation
Web site
Support
Table Of Contents

CBDisk.DeleteStorage method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CBDisk     See also    

Overview

Removes a storage from the system.

Declaration

[Pascal]
    procedure DeleteStorage(ForceUnmount: boolean);

[C++ (Lib)]
    void DeleteStorage(bool ForceUnmount);

[C++ (VCL)]
    void __fastcall DeleteStorage(bool ForceUnmount);

[C++ (.NET)]
    void DeleteStorage(bool ForceUnmount);

[C#]
    void DeleteStorage(bool ForceUnmount);

[VB.NET]
    Sub DeleteStorage(ByVal ForceUnmount As Boolean)

Parameters

  • ForceUnmount - when the parameter is set to true, the storage is deleted no matter if any mounting points exist.

Description

Use this method to remove the storage ("virtual disk drive") from the system.
When ForceUnmount is true, all mounting points are removed and all open files are forcefully closed. If ForceUnmount is false and there are mounting points present, the method fails (an exception is raised).

See also

CreateStorage    


Got questions or comments about this topic? Tell us about them.
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2011, EldoS Corporation