Theater SDK Banner 

Art
[Previous][Next]

ContentServers.Count Property

Returns a Long value specifying the number of objects in a ContentServers collection.

Syntax

ContentServers.Count

Remarks

You can use this property with a For...Next statement to carry out an operation on the objects in a collection, as shown in the following example.

Example

The following example uses the Count property to enumerate through a ContentServers collection object and generate a list of the IDs of each ContentServer.

MediaServer1.SetServer ("MyServer")
Dim cservers As IMSrvCServers
Set cservers = MediaServer1.CServers
For i = 0 To cserver.Count – 1
    MsgBox(cservers(i).Id)
Next i

See Also

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

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved