Returns a Streams collection object.
Syntax
NSChannelMgr.Streams
Example
NSChannelMgr.Connect "LocalHost"
Dim MyStreams
Set MyStreams = NSChannelMgr.Streams
MsgBox "There are " & MyStreams.Count & " Stream objects"
MyStreams(0).Close 'remove a stream
Set MyStreams = NSChannelMgr.Streams ' update collection
Remarks
If you remove a Stream 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
© 1996-1998 Microsoft Corporation. All rights reserved.