Theater SDK Banner 

Art
[Previous][Next]

ContentServerDisks.Count Property

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

Syntax

ContentServerDisks.Count

Example

The following example uses the Count property to enumerate through a Clients collection object and generate a list of client IDs.

sub EnumDisks(server As String)
    Dim Disk As IMSrvCServerDisk
    Dim CServer As IMSrvCServer
    
    MediaServer1.SetServer server
    For Each CServer In MediaServer1.CServers
        MsgBox("There are " & CServer.Disks.Count & " on " & CServer.Name.)
    Next
End Sub

See Also

Clients object, ContentServers object, ContentServerDisks object, Titles object, Walkers object

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved