Closes a station.
Syntax
NSChannelMgr.Channels(ChannelName).Close
Return Values
Returns an ActiveX HRESULT error code.
Remarks
If you remove an item from the Channels collection object by using Close, you must use the Set statement again to refresh the object.
Example
Dim Stations
Set Stations = NSChannelMgr.Channels
Stations.Open "Station 1", 1 'give read access
Stations.Open "Station 2", 2 'give write access
Stations.Open "Station 3", 7 'give full access
Stations(1).Close 'close Station 2
' now set the collection again!
Set Stations = NSChannelMgr.Channels
See Also
GetID, GetActiveStream, SetActiveStream, InitializeFromNSC, WriteNSC, DistributeFrom
© 1996-1998 Microsoft Corporation. All rights reserved.