Windows Media Services SDK banner art
PreviousNext

Stream.Close Method

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

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.