WTSSBX_MACHINE_DRAIN enumeration

Contains values that indicate the drain state of a Remote Desktop Session Host (RD Session Host) server. The drain state indicates whether an RD Session Host server is accepting new connections. If the RD Session Host server is currently accepting new connections, its drain state is off. If it is not accepting new connections, its drain state is on.

Syntax


typedef enum  { 
  WTSSBX_MACHINE_DRAIN_UNSPEC  = 0,
  WTSSBX_MACHINE_DRAIN_OFF     = 1,
  WTSSBX_MACHINE_DRAIN_ON      = 2
} WTSSBX_MACHINE_DRAIN;

Constants

WTSSBX_MACHINE_DRAIN_UNSPEC

The drain state of the server is unspecified.

WTSSBX_MACHINE_DRAIN_OFF

The server is accepting new user sessions.

WTSSBX_MACHINE_DRAIN_ON

The server is not accepting new user sessions.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Tssbx.h

IDL

Tssbx.idl

 

 

Show:
© 2014 Microsoft. All rights reserved.