Win32_TSGatewayServer class

Used for Remote Desktop Gateway (RD Gateway) server-specific operations.

Syntax

[singleton, dynamic, provider("AAGProvider"), AMENDMENT]
class Win32_TSGatewayServer
{
};

Members

The Win32_TSGatewayServer class has these types of members:

Methods

The Win32_TSGatewayServer class has these methods.

Method Description
CreateSelfSignedCertificate Creates a self-signed certificate with a given subject name and returns the certificate hash as an "out" parameter.
Export Returns the RD Gateway server configuration as an XML string.
Import Imports a given configuration to the RD Gateway server.

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

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2\TerminalServices
MOF
TSGateway.mof
DLL
AagWmi.dll