IsTransportEnabled method of the Win32_TSGatewayServerSettings class
Determines whether the specified transport is enabled.
Syntax
uint32 IsTransportEnabled(
[in] uint16 TransportType,
[out] boolean Enabled
);
Parameters
-
TransportType [in]
-
Specifies the transport type. This must be one of the following values.
-
0
-
RPC over HTTP transport.
-
1
-
HTTP transport.
-
2
-
UDP transport.
Enabled [out]
A boolean value that indicates whether the transport is enabled.
Return value
If the method succeeds, it returns zero. If the method is unsuccessful, it returns a nonzero value. For a list of error codes, see Remote Desktop Services WMI Provider Error Codes.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\CIMv2\TerminalServices |
MOF |
|
DLL |
|