Windows Media Services SDK banner art
PreviousNext

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 to update the collection object.

See Also

Windows Media Station Control Properties

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.