WSMAN_SHELL_DISCONNECT_INFO structure (wsman.h)

Specifies the maximum duration, in milliseconds, the shell will stay open after the client has disconnected.

Syntax

typedef struct _WSMAN_SHELL_DISCONNECT_INFO {
  DWORD idleTimeoutMs;
} WSMAN_SHELL_DISCONNECT_INFO;

Members

idleTimeoutMs

Specifies the maximum time in milliseconds that the shell will stay open after the client has disconnected. When this maximum duration has been exceeded, the shell will be deleted. Specifying this value overrides the initial idle timeout value that is set as part of the WSMAN_SHELL_STARTUP_INFO structure in the WSManCreateShell method.

Remarks

When the maximum duration is exceeded, the shell is automatically deleted. This value overrides the initial idle timeout that is set as part of WSMAN_SHELL_STARTUP_INFO structure in WSManCreateShell.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header wsman.h