WTSSBX_MACHINE_INFO structure

Contains information about a computer and its current state.

Syntax


typedef struct {
  WTSSBX_MACHINE_CONNECT_INFO ClientConnectInfo;
  WCHAR                       wczFarmName[MaxFarm_Len + 1];
  WTSSBX_IP_ADDRESS           InternalIPAddress;
  DWORD                       dwMaxSessionsLimit;
  DWORD                       ServerWeight;
  WTSSBX_MACHINE_SESSION_MODE SingleSessionMode;
  WTSSBX_MACHINE_DRAIN        InDrain;
  WTSSBX_MACHINE_STATE        MachineState;
} WTSSBX_MACHINE_INFO;

Members

ClientConnectInfo

A WTSSBX_MACHINE_CONNECT_INFO structure that contains information about the computer.

wczFarmName

A Unicode string that contains the name of the farm in RD Connection Broker that this computer belongs to. This string cannot exceed 256 characters.

InternalIPAddress

A WTSSBX_IP_ADDRESS structure that contains the internal IP address of this computer. RD Connection Broker uses this IP address for redirection purposes.

dwMaxSessionsLimit

The maximum number of sessions that this computer can accept.

ServerWeight

The server weight value of this computer. RD Connection Broker uses this value for load balancing.

SingleSessionMode

A value of the WTSSBX_MACHINE_SESSION_MODE enumeration type that indicates the computer's session mode.

InDrain

A value of the WTSSBX_MACHINE_DRAIN enumeration type that indicates whether the computer is accepting new user sessions.

MachineState

A value of the WTSSBX_MACHINE_STATE enumeration type that indicates the state of the computer.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Tssbx.h

IDL

Tssbx.idl

See also

IWTSSBPlugin

 

 

Show: