Theater SDK Banner 

Art
[Previous][Next]

ContentServerDisk.Name Property

Returns a String value specifying the drive letter of a content server disk.

Syntax

ContentServerDisk.Name

Example

The following Visual Basic code generates the name for each disk in a content server disk collection.

Sub enumDisks(server As String)
    Dim Disk As IMSrvCServerDisk
    Dim CServer As IMSrvCServer
    
    MediaServer1.SetServer server
    
    For Each CServer In MediaServer1.CServers
        For Each Disk In CServer.Disks
            MsgBox("Disk " & Disk.Name & " is on " & CServer.Name.)
        Next
    Next
End Sub

See Also

Content Server Disk object, Content Server object, MediaServer object, ServerView object

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved