GetActiveServer method of the Win32_RDMSEnvironment class

Retrieves the fully qualified domain name (FQDN) of the Remote Desktop Management Services (RDMS) environment.

Syntax

uint32 GetActiveServer(
  [out] string ServerName
);

Parameters

ServerName [out]

Receives the retrieved FQDN.

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 2012
Namespace
Root\CIMv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSEnvironment