Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32ts
>
WTSDisconnectSession
win32ts
.WTSDisconnectSession
WTSDisconnectSession(
Server
, SessionId
, Wait
)
Disconnects a session without logging it off
Parameters
Server
:
PyHANDLE
Handle to a terminal server
SessionId
: int
Terminal services session id as returned by
win32ts::WTSEnumerateSessions
Wait
: boolean
Indicates whether operation should be performed asynchronously