Theater SDK Banner 

Art
[Previous][Next]

Client.Status Property

Returns a Long value specifying status information of a client.

Syntax

Client.Status

Return Values

The status of a client can be one of the following values.

Client status Code
Inactive 0
Active 1
Striding 2
NowPlaying 3
Disconnecting 4

Example

The following Visual Basic example generates a list showing the status for each client in a Clients collection object.

Sub enumClients(server As String)
    Dim client As IMSrvClient
    MediaServer1.SetServer server
    For Each client In MediaServer1.Clients
        MsgBox("Client " & Str(client.Id) & 
               " status:" & Str(client.status))
    Next
End Sub

See Also

Client object, Content Server object, Content Server Disk object

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved