Clients Property

Returns a Clients collection object.

Syntax

NSChannelMgr.Clients

Example

NSChannelMgr.Connect "LocalHost"
Dim MyClients
Set MyClients = NSChannelMgr.Clients
MsgBox "There are " & MyClients.Count & " Client objects"
MyClients(0).Close  'remove a Client
Set MyClients = NSChannelMgr.Clients ' update collection

Remarks

If you remove a Client object from the collection, you must retrieve a new collection. In Visual Basic this is done by reissuing the Set statement again to update the collection object.

See Also

Station Manager Properties

© 1996-1998 Microsoft Corporation. All rights reserved.