Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetremqsv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETREMQSV()
 Removes a queue server
------------------------------------------------------------------------------
 Syntax

     NNETREMQSV(<cQueue>,<cPServer>|<aPServer>,[<cServer>|
        <nConId>]) --> nNumber

     Netware: 2.2 and 3.11

 Arguments

     <cQueue>  Designates a print queue on the default server or on
     <cServer>|<nConId>.

     <cPServer>  Designates the name of a print server that is removed
     from the server list of <cQueue>.

     <aPServer>  Designates a number of elements of the type strings.
     Each element designates the name of a print server that is removed from
     the server list of <cQueue>.

     <cServer>  Designates the name of the file server used.  Your
     workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETREMQSV() returns the number of print servers that have been removed
     successfully from the server list of <cQueue>.  The value 0 indicates
     that no print server has been deleted.

 Description

     NOVELL NET REMOVE QUEUE SERVER
     NNETREMQSV() allows you to remove one or more print servers from the
     server list of a print queue.  To remove one print server, the server
     name must be passed in <cPServer>.  By passing an array containing the
     server names as elements (<aPServer>), more print servers can be
     deleted.  With the parameters <cServer> or <nConId>, the server list of
     any attached server can be modified.  The connection ID of a server can
     be determined with NNETATTACH() or NNETLOGIN().

     Supervisor rights of the requesting user on the related file server are
     required to remove print servers from a server list.

 Note

     .  NNETREMQSV() is a high level function based on the low level
        functions of the bindery access.  The CA-Clipper source code can be
        found on the product disks.

 Examples

     .  Remove the print server PSERVER from the server list of the
        queue LINEPRINTER:

        IF NNETREMQSV('LINEPRINTER','PSERVER')>0
           ? 'Print server removed successfully!'
        ELSE
           ? 'Error!'
        ENDIF

     .  Remove the print servers PSERVERTOOLS1 and PSERVERDEV1 from
        the server list of the queue LINEPRINTER:

        NNETREMQOP('LINEPRINTER',{'PSERVERTOOLS1','PSERVERDEV1'})

See Also: NNETADDQSV()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson