Win32_SessionDirectoryServer class

Provides properties for viewing the properties of a Remote Desktop Connection Broker (RD Connection Broker) server.

Note

In Windows Server 2008 R2, the name of Terminal Services Session Broker (TS Session Broker) was changed to RD Connection Broker. These properties apply to all supported operating systems unless otherwise noted.

Syntax

[dynamic, provider("Win32_WIN32_SESSIONDIRECTORYSERVER_Prov"), AMENDMENT]
class Win32_SessionDirectoryServer
{
  string ServerName;
  string ServerIPAddress;
  string ClusterName;
  uint32 NumberOfSessions;
  uint32 SingleSessionMode;
  uint32 ServerWeight;
  uint32 NumPendRedir;
  uint32 LoadIndicator;
};

Members

The Win32_SessionDirectoryServer class has these types of members:

Properties

The Win32_SessionDirectoryServer class has these properties.

ClusterName

Data type: string

Access type: Read-only

Name of the farm that includes the server.

LoadIndicator

Data type: uint32

Access type: Read-only

A relative number that represents the RD Session Host server load when the default load-balancing algorithm is used. The LoadIndicator property value is based on the number of sessions, the number of pending redirection requests, and the server weight value.

NumberOfSessions

Data type: uint32

Access type: Read-only

Number of sessions in the RD Connection Broker server.

NumPendRedir

Data type: uint32

Access type: Read-only

Number of pending redirection requests.

ServerIPAddress

Data type: string

Access type: Read-only

IP address of the RD Connection Broker server. If the server is configured for both IPv4 and IPv6 addresses, this will contain the IPv4 address.

ServerName

Data type: string

Access type: Read-only

Qualifiers: key

Name of the RD Connection Broker server.

ServerWeight

Data type: uint32

Access type: Read-only

Server weight value, used in load balancing.

SingleSessionMode

Data type: uint32

Access type: Read-only

Single session mode setting of the RD Connection Broker server.

0

The farm is not in single session mode.

1

The farm in is in single session mode.

Remarks

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
MOF
TssdWmi.mof
DLL
TssdWmi.dll

See also

Win32_SessionDirectoryCluster

Win32_SessionDirectorySession