swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax     Other Library Functions  
function   vfsDisconnect   Available in:
Professional
Enterprise

Library: omvfs - virtual file system
Include: omvfs.xin

Declaration

  define function vfsDisconnect
       value  vfsDir     dir
  where
dir
is the vfsDir object to be discarded


Purpose

Use vfsdisconnect to discard a directory connection that is no longer needed. This allows the system to release un-needed resources.

Requirements

You must include the following line at the beginning of your OmniMark program:

  include "omvfs.xin"

Usage Notes

You are allowed to discard an unconnected vfsDir.

You are allowed to discard a previously discarded vfsDir.

External exception VFS300 is thrown for any general OS operation failure. The text accompanying the exception will contain details on the reason for the failure.

Example

Discarding a connection

  include "omvfs.xin"

  process
    local vfsDir Chicago
     	. . .
    set Chicago to vfsConnect "file:///myPrograms/"
  	. . .
    vfsDisconnect Chicago

    Related Syntax
   vfsConnect
   vfsConnectDir
   vfsDir
 
  Other Library Functions
   vfsChangeDir
   vfsChangeOwner
   vfsChangePermissions
   vfsClose
   vfsConnect
   vfsConnectDir
   vfsCopy
   vfsCursorPosition
   vfsDeleteDir
   vfsDeleteFile
   vfsDescribe
   vfsDescribeFile
   vfsDir
   vfsDirName
   vfsDisconnect
   vfsFile
   vfsFileDir
   vfsFileName
   vfsIsVersionCompatible
   vfsLibraryVersion
   vfsLink
   vfsList
   vfsLock
   vfsMakeDir
   vfsMove
   vfsMoveCursor
   vfsOpen
   vfsRead
   vfsTruncate
   vfsUnlock
   vfsWrite
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ ERRORS ]

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:47 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.