[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_FSNAME()
GetFileServerNameTable
------------------------------------------------------------------------------
Syntax
fn_FSName() -> aNameTable
Arguments
None
Returns
An 8 element array containing the names of each file server that
the calling workstation is currently attached to.
Description
This function returns a copy of the shell's File Server Name Table.
A workstation may be attached to up to 8 file servers. For each
that the workstation is attached, an entry is made in this table and
the ConnectionID table. The index into the table is the server's
ConnectionID.
Server names can be up to 47 characters in length. If no server
is active at a particular ID, the Name Table will contain an empty
string "".
Examples
/* List the servers that this station is attached to */
aServers := fn_FSName()
AEVAL( aServers, {|e| QOUT( e ) } )
Source: N:\SRC\CONNWS\FSNAME.PRG
Author: Steve Larsen
See Also:
fn_connID()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson