BrokenConnection method of the Win32_TSSessionSetting class
Sets the BrokenConnectionAction property, which is the action the server takes if the session time-limit is reached or if the connection is broken.
uint32 BrokenConnection( [in] uint32 BrokenConnectionAction );
The action to take.
The user is disconnected from the session.
The session is permanently deleted from the server.
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values. The method returns an error if the setting is under Group Policy control.
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
|Minimum supported client
|Minimum supported server
||Windows Server 2008