EnableAllowOnlySDRServers method of the Win32_TSGatewayConnectionAuthorizationPolicy class
Used to toggle the AllowOnlySDRServers property.
Syntax
uint32 EnableAllowOnlySDRServers(
[in] boolean AllowOnlySDRServers
);
Parameters
-
AllowOnlySDRServers [in]
-
If set to True, connections will be allowed only to secure device redirection (SDR) RDS servers. If set to False, connections will be allowed to older RDS servers also
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 2008 R2 |
Namespace |
ROOT\cimv2\TerminalServices |
MOF |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for