Microsoft Chat Server SDK Reference

State Property

This property returns the flag that determines the state of the service.

Syntax

Flag = ChatService.State
ChatService.State = Flag

Parameters

Flag
A value indicating whether the service is stopped, started, or paused. See remarks.

Remarks

Indicates the current state of the service. One of the following values is specified:

Value Value Meaning
SERVICE_STOPPED 1 The service is not running.
SERVICE_START_PENDING 2 The service is starting.
SERVICE_STOP_PENDING 3 The service is stopping.
SERVICE_RUNNING 4 The service is running.
SERVICE_CONTINUE_PENDING 5 The service continue is pending.
SERVICE_PAUSE_PENDING 6 The service pause is pending.
SERVICE_PAUSED 7 The service is paused.

See Also

Continue

Pause


© 1998 Microsoft Corporation. All rights reserved.