Client.Status Property

The Client.Status property returns a Long value specifying status information for a client.

Syntax

Client.Status

Return Values

The status for a client can be one of the following:

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

Example

The following Visual Basic example outputs the status for each client in a client collection.

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

© 1996-1998 Microsoft Corporation. All rights reserved.