EldoS
 Table of Contents >  SolFSStorage.Close method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.Close method

Filter:

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

SolFSStorage     See also    

Overview

Closes storage object.

Declaration

[Pascal]
    procedure Close(Force : boolean);

[DLL]
    long _stdcall StorageClose(unsigned long Storage, bool Force);

[C++ (DLL/Lib)]
    void Close(bool Force);

[C++ (VCL)]
    void Close(bool Force);

[C++ (.NET)]
    void Close(bool Force);

[C#]
    void Close(bool Force);

[VB.NET]
    Sub Close(ByVal Force As Boolean)

Parameters

  • Force - Specifies whether the opened file and folder handles must be forcefully closed
  • [DLL] Storage - handle to the storage returned by Create or Open function.

[DLL]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

Use Close to close SolFSStorage.
[.NET] The storage is flushed and closed. SolFSStorage object becomes invalid after Close is called and any attempt to call one of the methods leads to ObjectDisposedException error. It is necessary to close the storage once it is not used anymore. When callback mode is used, the application can't be shutdown unless the storage is closed.

See also

Create     [DLL] Open

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation