Clients.Count Property

The Clients.Count property returns a Long value specifying the number of objects in a collection.

Syntax

Clients.Count

Example

The following example queries the count property to get the number of clients connected to the server (“MyServer”).

MediaServer1.SetServer ("MyServer")
Dim clients As IMSrvClients
clients = MediaServer1.Clients
MsgBox "There are " & clients.count & " clients."

See Also

Clients object, Content Servers object, Content Server Disks object, Titles object, Walkers object

© 1996-1998 Microsoft Corporation. All rights reserved.