Win32_TSGatewayLoadBalancer class

Describes a set of Remote Desktop Gateway (RD Gateway) load-balancing servers. These are used to load balance RD Gateway connections across multiple servers.

Syntax

[dynamic, provider("AAGProvider"), AMENDMENT]
class Win32_TSGatewayLoadBalancer
{
  string Servers;
};

Members

The Win32_TSGatewayLoadBalancer class has these types of members:

Methods

The Win32_TSGatewayLoadBalancer class has these methods.

Method Description
AddServers Adds servers to the Servers property.
DeleteAllServers Deletes all RD Gateway load-balancing servers participating in the load-balancing farm.
DeleteServers Deletes servers from the Servers property.
IsLoadBalancingServer Determines whether the server can perform load balancing.
SetServers Sets the Servers property with the semicolon-separated list of RD Gateway load-balancing servers.

Properties

The Win32_TSGatewayLoadBalancer class has these properties.

Servers

Data type: string

Access type: Read-only

Qualifiers: key

Semicolon-separated list of RD Gateway load-balancing servers. This property can be changed with the SetServers, AddServers, DeleteServers, and DeleteAllServers methods.

Remarks

You must be a member of the Administrators group to use this class.

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
TSGateway.mof
DLL
AagWmi.dll

See also

Win32_TSGatewayConnection

Win32_TSGatewayConnectionAuthorizationPolicy

Win32_TSGatewayRADIUSServer

Win32_TSGatewayResourceAuthorizationPolicy

Win32_TSGatewayResourceGroup

Win32_TSGatewayServerSettings