Windows Media Services SDK banner art
PreviousNext

ServerStatus Property

Returns a Long value specifying the current status of the server.

Syntax

NSUnicastMgr.ServerStatus

Remarks

The ServerStatus property returns an error message that indicates whether the specified server is running. Under certain conditions, the server can refuse client connections while it is running. For example, a registered authentication plug-in that fails to load at startup does not prevent a server from running and accepting configuration changes. However, because the server cannot verify the identity of a client, it does not allow it to connect.

This property is an NSOADM_SERVER_STATUS enumeration type, and returns one of the following values.

Value Mnemonic Description
0 NSOADM_SERVER_RUNNING The server is fully functional, and is allowing client connections.
1 NSOADM_SERVER_FAULTED An error occurred during initialization, and the server is not allowing clients to connect.

See Also

Server

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.