SetLoadBalancingState method of the Win32_TSSessionDirectory class
Sets the value to indicate whether the server will participate in Remote Desktop Connection Broker (RD Connection Broker) load balancing.
Syntax
uint32 SetLoadBalancingState(
[in] uint32 StateValue
);
Parameters
-
StateValue [in]
-
Type: uint32
Indicates whether the server will participate in RD Connection Broker load balancing.
-
0
-
The server will not participate in RD Connection Broker load balancing.
-
1
-
The server will participate in RD Connection Broker load balancing.
Remarks
The server must be joined to a farm in RD Connection Broker.
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|