|Manuals

Server.HideSection Method

Hides a configuration section in the VirtualUI Server Manager graphical interface.

Syntax

public void HideSection(ServerSection section);

Parameters

Parameter Type Description
section ServerSection Specifies which server configuration section to hide

ServerSection Values

Constant Description
SRVSEC_GENERAL Hides the General tab with the Binding configuration
SRVSEC_RDS Hides the Remote Desktop Services accounts configuration tab
SRVSEC_APPLICATIONS Hides the applications list
SRVSEC_LICENSES Hides the tab with license information

Example

Server server = new Server();

// Hide the licenses section
server.HideSection(ServerSection.SRVSEC_LICENSES);

// Hide the RDS section
server.HideSection(ServerSection.SRVSEC_RDS);

See Also