Previous | Next |
Closes a stream.
Syntax
NSChannelMgr.Streams(Index).Close
Return Values
Returns an ActiveX HRESULT error code.
Remarks
If you remove an item from the Streams collection object by using the Close method, you must use the Set statement again to refresh the object.
Example
Set Streams = NSChannelMgr.Streams
Set Stream1 = Streams(0)
' Close first stream on server
Stream1.Close
' Reinitialize streams collection
Set Streams = NSChannelMgr.Streams
See Also
Streams Collection Object, Stream Objects, Stream.Stop
Previous | Next |