Win32_TSSessionSetting, ROOT\CIMV2\TerminalServices

Class | Methods (2) | Properties (19) | Qualifiers (5) | Instances (1) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_TSSessionSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Time-limits, Disconnection and Reconnection actions.

Win32_TSSessionSetting methods

Win32_TSSessionSetting has 2 methods (2 Local)

NameOriginReturn
BrokenConnectionWin32_TSSessionSettinguint32 {'out':True}
TimeLimitWin32_TSSessionSettinguint32 {'out':True}

Win32_TSSessionSetting properties

Win32_TSSessionSetting has 19 properties (13 Local, 6 Derived)

NameOriginCIMType
ActiveSessionLimitWin32_TSSessionSetting19 [uint32]
BrokenConnectionActionWin32_TSSessionSetting19 [uint32]
BrokenConnectionPolicyWin32_TSSessionSetting19 [uint32]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DisconnectedSessionLimitWin32_TSSessionSetting19 [uint32]
EnableTimeoutWarningWin32_TSSessionSetting19 [uint32]
IdleSessionLimitWin32_TSSessionSetting19 [uint32]
InstallDateCIM_ManagedSystemElement101 [datetime]
NameCIM_ManagedSystemElement8 [string]
PolicySourceActiveSessionLimitWin32_TSSessionSetting19 [uint32]
PolicySourceBrokenConnectionActionWin32_TSSessionSetting19 [uint32]
PolicySourceDisconnectedSessionLimitWin32_TSSessionSetting19 [uint32]
PolicySourceIdleSessionLimitWin32_TSSessionSetting19 [uint32]
PolicySourceReconnectionPolicyWin32_TSSessionSetting19 [uint32]
ReconnectionPolicyWin32_TSSessionSetting19 [uint32]
StatusCIM_ManagedSystemElement8 [string]
key
TerminalName
Win32_TerminalSetting8 [string]
TimeLimitPolicyWin32_TSSessionSetting19 [uint32]

Detailed description of Win32_TSSessionSetting methods

Local methods (2) of Win32_TSSessionSetting class

BrokenConnection method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
BrokenConnectionActionuint320-{'In':True}
Description'Sets the action to be taken if the session limit is reached or connection is broken, one of the following action is taken:Disconnect: The user is disconnected from the sessionTerminate: The session is permanently deleted from the server the property BrokenConnectionAction that it is applicable only to Server-override mode and returns success in case of Server-Overridemode and an error if the policy was set to User or Group.'
ImplementedTrue
BrokenConnection method is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
TimeLimit method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SessionLimitTypestring0-{'In':True}
ValueLimituint321-{'In':True}
Description'SessionLimitType is an enumeration of the properties: 0 = ActiveSessionLimit, 1 = DisconnectedSessionLimit and 2 = IdleSessionLimitwhich specify the Maximum allowed time for Active Session, Disconnected Session NEVER for all three and Idle session limits and Value specifies the time in milliseconds. The call returns 0 for success in case of Server-Override mode and an error if the policy was set to Group policy.'
ImplementedTrue
TimeLimit method is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Detailed description of Win32_TSSessionSetting properties

Local properties (13) of Win32_TSSessionSetting class

ActiveSessionLimit property
CIMTYPE'uint32'
Description'Maximum allowed time for Active session in milliseconds where 0 implies NEVER.'
readTrue
ActiveSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
BrokenConnectionAction property
CIMTYPE'uint32'
Description'If session limit is reached or connection is broken, one of the following actions is taken: Disconnect - User is disconnected from the session or Terminate - The session is permanently deleted from the server.'
readTrue
Values['Disconnect', 'Terminate']
BrokenConnectionAction property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
BrokenConnectionPolicy property
CIMTYPE'uint32'
Description'Describes which policy the server uses in order to determine when a connection is broken either due to network loss or time limits.'
readTrue
Values['Per User', 'Server-Override']
writeTrue
BrokenConnectionPolicy property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
DisconnectedSessionLimit property
CIMTYPE'uint32'
Description'Time after which to end disconnected session in milliseconds where 0 implies NEVER.'
readTrue
DisconnectedSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
EnableTimeoutWarning property
CIMTYPE'uint32'
Description'Non-Zero value indicate display warning before logging off session when maximum idle time is reached. O means otherwise. There is no GP for this setting and can be set only through tsconfig.'
readTrue
writeTrue
EnableTimeoutWarning property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
IdleSessionLimit property
CIMTYPE'uint32'
Description'Idle session limit in units specified in milliseconds where 0 implies NEVER.'
readTrue
IdleSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceActiveSessionLimit property
CIMTYPE'uint32'
Description'PolicySourceActiveSessionLimit indicates whether the property ActiveSessionLimit is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceActiveSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceBrokenConnectionAction property
CIMTYPE'uint32'
Description'PolicySourceBrokenConnectionAction indicates whether the property BrokenConnectionAction is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceBrokenConnectionAction property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceDisconnectedSessionLimit property
CIMTYPE'uint32'
Description'PolicySourceDisconnectedSessionLimit indicates whether the property DisconnectedSessionLimit is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceDisconnectedSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceIdleSessionLimit property
CIMTYPE'uint32'
Description'PolicySourceIdleSessionLimit indicates whether the property IdleSessionLimit is configured by Server (0),Group Policy (1), Default (2)'
readTrue
PolicySourceIdleSessionLimit property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceReconnectionPolicy property
CIMTYPE'uint32'
Description'PolicySourceReconnectPolicy indicates whether the property ReconnectPolicy is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceReconnectionPolicy property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
ReconnectionPolicy property
CIMTYPE'uint32'
Description'Indicates whether or not a user must use the same client in order to reconnect to a disconnected session.'
readTrue
Values['Any Client', 'Previous Client']
writeTrue
ReconnectionPolicy property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
TimeLimitPolicy property
CIMTYPE'uint32'
Description'Describes which policy the server uses in orderto determine the Active Session limit for user sessions.'
readTrue
Values['Per User', 'Server-Override']
writeTrue
TimeLimitPolicy property is in 1 class (Win32_TSSessionSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Derived properties (6) of Win32_TSSessionSetting class

Caption property
CIMTYPE'string'
MaxLen64
readTrue
Caption property is in 43 classes of ROOT\CIMV2\TerminalServices and in 37 namespaces
Description property
CIMTYPE'string'
readTrue
Description property is in 48 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Mappingstrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 43 classes of ROOT\CIMV2\TerminalServices and in 23 namespaces
Name property
CIMTYPE'string'
readTrue
Name property is in 53 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
Status property
CIMTYPE'string'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service']
Status property is in 43 classes of ROOT\CIMV2\TerminalServices and in 42 namespaces
TerminalName property
CIMTYPE'string'
Description'Name of the Terminal.'
keyTrue
readTrue
TerminalName property is in 13 classes of ROOT\CIMV2\TerminalServices and in 2 namespaces

Win32_TSSessionSetting Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassContext'local|hkey_local_machine\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations'
Description'The Win32_TSSessionSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Time-limits, Disconnection and Reconnection actions.'
dynamicTrue
LOCALE1033
provider'Win32_WIN32_TSSESSIONSETTING_Prov'

Win32_TSSessionSetting System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\TerminalServices:Win32_TSSessionSetting'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\TerminalServices'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_TerminalSetting', 'CIM_Setting', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT19___SYSTEM3
__RELPATH'Win32_TSSessionSetting'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_TerminalSetting'___SYSTEM8
__CLASS'Win32_TSSessionSetting'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_TSSessionSetting

Number of classes:21
comments powered by Disqus
WUtils.com