[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_LOGOUTFS()
LogoutFromFileServer
------------------------------------------------------------------------------
Syntax
fn_logoutFS( <nConnectionID> ) -> NIL
Arguments
<nConnectionID> is the position that the server occupies in the
workstation shell's Connection ID Table.
Returns
Nothing. Any errors can be detected with fn_error().
Description
This function logs the current workstation out from a specific
file server. Logging out from a file server is not the same as
detaching from a file server. Logging out from a file server does
not relinquish the connection number, but retains the connection
for continued service. The shell automatically removes all drives
mapped to the specified file server and maps one drive to the
SYS:LOGIN directory on that file server.
Examples
aFSNameTable := fn_FSName() // get list of attached servers
// to find ConnectionID
nConnID := ASCAN( aFSNameTable, {|e| e == "SALES" })
fn_logoutFS( nConnID )
Source: N:\SRC\CONNWS\LOGIN.PRG
Author: Steve Larsen
See Also:
fn_detchFS()
fn_logout()
fn_loginfs()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson