The Win32_TSSessionDirectory class defines the configuration for Win32_TSSessionDirectorySetting. This includes capabilities such as Session Directory store, Cluster Name and Server IP address.
Win32_TSSessionDirectory methods
Win32_TSSessionDirectory has 12 methods (12 Local)
'Creates User Disk Template of specified max size and at the specified location. All User Disks created will have max sizes matching the Template's max size.'
CreateUserDiskTemplate method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
'Sets the value to indicate whether the server will participate in Session Broker Load Balancing.0 = The server will not participate in Session Broker Load Balancing1 = The server will participate in TS Session Broker Load Balancing'
SetLoadBalancingState method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
'Enables or disables SessionDirectory according as whether Value is set to 0 or 1 respectively. The call returns 0 for success and an error if the policy was set to Group policy.'
SetSessionDirectoryActive method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
'Allows or Denies retrieving IP address of SessionDirectory according as whether Value is set to 1 or 0 respectively. The call returns 0 for success and an error if the policy was set to Group policy.'
SetSessionDirectoryExposeServerIP method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
'PropertyName is an enumeration of the properties: 0 = SessionDirectoryLocation and 1 = SessionDirectoryClusterNamewhich are flags that are either set to False or True according as whether Value is set to 0 or 1 respectively. The call returns 0 for success and an error if the policy was set to Group policy.'
SetSessionDirectoryProperty method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
Detailed description of Win32_TSSessionDirectory properties
Local properties (13) of Win32_TSSessionDirectory class
'PolicySourceSessionDirectoryExposeServerIP indicates whether the property SessionDirectoryExposeServerIP is configured by Server (0) or Group Policy (1).'
PolicySourceSessionDirectoryExposeServerIP property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
SessionDirectoryLocation property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices\ms_409 and in 2 namespaces
Win32_TSSessionDirectory Qualifiers
Name
Value
ToInstance
ToSubclass
Overridable
Amended
Local
AMENDMENT
True
✗
✗
✓
✗
✓
Description
'The Win32_TSSessionDirectory class defines the configuration for Win32_TSSessionDirectorySetting. This includes capabilities such as Session Directory store, Cluster Name and Server IP address.'