The method configures the specified terminal server to allow or disallow new Terminal Services connections. When disallowed, existing sessions are unaffected, but creation of new sessions is prevented.
This setting would be manually controlled by setting or clearing the 'Enable Remote Desktop' checkbox on the 'MyComputer->Properties->Remote' tab on the machine in question.
In order for this method to successfully execute, either
Arguments |
Remarks |
Sample Code |
Applies To |
See Also |