Click or drag to resize
Xcalibur Systems LLC Logo

TerminalServicesHelperWTSCloseServer Method

Closes an open handle to a Remote Desktop Session Host (RD Session Host) server.

WTSCloseServer function


Namespace: Xcalibur.NativeMethods.V2.TerminalServices
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("wtsapi32.dll")]
public static void WTSCloseServer(
	IntPtr serverHandle
)

Parameters

serverHandle  IntPtr
A handle to an RD Session Host server opened by a call to the or WTSOpenServerEx function.
See Also