GetJoinedNodeCount method of the Win32_RDMSJoinedNode class

Get number of servers that have the specified roles installed.

Syntax

uint32 GetJoinedNodeCount(
  [in]  uint32 roleType,
  [out] uint32 Count
);

Parameters

roleType [in]

A bitfield that specifies the role types.

0

All

1

Remote Desktop Connection Broker (RDCB)

2

Remote Desktop Session Host (RDSH)

4

Remote Desktop Virtualization Host (RDVH)

Count [out]

On success, returns the number of servers with the specified roles installed.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\CIMv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSJoinedNode