Function NnetQSrvs() Foundation

Determines the names of print servers which service a print queue.

Syntax
NnetQSrvs( <cPrintQueueName>         , ;
           [<lAllServers>]           , ;  // Default: .F.
           [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
         ) --> aPrintServer
Return

Returns a one dimensional array. Each element contains a string with the name of a print server.

<lAllServers> = .F. (default)

The names of print servers currently attached to service the queue <cPrintQueueName>.

<lAllServers> = .T.

The names of print servers assigned to the queue <cPrintQueueName>.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.