Win32_TSSessionDirectory, ROOT\CIMV2\TerminalServices

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

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.

Win32_TSSessionDirectory methods

Win32_TSSessionDirectory has 12 methods (12 Local)

NameOriginReturn
CreateUserDiskTemplateWin32_TSSessionDirectoryuint32 {'out':True}
DisableUserVhdWin32_TSSessionDirectoryuint32 {'out':True}
EnableUserVhdWin32_TSSessionDirectoryuint32 {'out':True}
GetCurrentRedirectableAddressesWin32_TSSessionDirectoryuint32 {'out':True}
GetRedirectableAddressesWin32_TSSessionDirectoryuint32 {'out':True}
PingSessionDirectoryWin32_TSSessionDirectoryuint32 {'out':True}
SetCurrentRedirectableAddressesWin32_TSSessionDirectoryuint32 {'out':True}
SetLoadBalancingStateWin32_TSSessionDirectoryuint32 {'out':True}
SetServerWeightWin32_TSSessionDirectoryuint32 {'out':True}
SetSessionDirectoryActiveWin32_TSSessionDirectoryuint32 {'out':True}
SetSessionDirectoryExposeServerIPWin32_TSSessionDirectoryuint32 {'out':True}
SetSessionDirectoryPropertyWin32_TSSessionDirectoryuint32 {'out':True}

Win32_TSSessionDirectory properties

Win32_TSSessionDirectory has 18 properties (13 Local, 5 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
GetLoadBalancingStateWin32_TSSessionDirectory19 [uint32]
GetServerWeightWin32_TSSessionDirectory19 [uint32]
GetTSRedirectorModeWin32_TSSessionDirectory19 [uint32]
InstallDateCIM_ManagedSystemElement101 [datetime]
NameCIM_ManagedSystemElement8 [string]
PolicySourceLoadBalancingWin32_TSSessionDirectory19 [uint32]
PolicySourceSessionDirectoryActiveWin32_TSSessionDirectory19 [uint32]
PolicySourceSessionDirectoryClusterNameWin32_TSSessionDirectory19 [uint32]
PolicySourceSessionDirectoryExposeServerIPWin32_TSSessionDirectory19 [uint32]
PolicySourceSessionDirectoryLocationWin32_TSSessionDirectory19 [uint32]
key
SessionDirectoryActive
Win32_TSSessionDirectory19 [uint32]
SessionDirectoryClusterNameWin32_TSSessionDirectory8 [string]
SessionDirectoryExposeServerIPWin32_TSSessionDirectory19 [uint32]
SessionDirectoryIPAddressWin32_TSSessionDirectory8 [string]
SessionDirectoryLocationWin32_TSSessionDirectory8 [string]
StatusCIM_ManagedSystemElement8 [string]

Detailed description of Win32_TSSessionDirectory methods

Local methods (12) of Win32_TSSessionDirectory class

CreateUserDiskTemplate method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
UserDisksStorageUrlstring0-{'in':True}
UserDiskMaxSizeInGBuint321-{'in':True}
Description'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.'
ImplementedTrue
CreateUserDiskTemplate method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
DisableUserVhd method
Returnuint32 {'out':True}
Description'Disables the User VHD'
ImplementedTrue
DisableUserVhd method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
EnableUserVhd method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
UvhdShareUrlstring0-{'in':True}
UvhdRoamingPolicyXmlstring1-{'in':True}
Description'Enables, and sets parameters for the User VHD'
ImplementedTrue
EnableUserVhd method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
GetCurrentRedirectableAddresses method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
fTokenRedirectionuint320-{'out':True}
IPAddressesstring1-{'out':True}
Description'Obtains the currently configured list of either Token Redirectable addresses or DNS Eligible addresses.'
ImplementedTrue
GetCurrentRedirectableAddresses method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
GetRedirectableAddresses method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
fTokenRedirectionuint320-{'In':True}
IPAddressesstring1-{'out':True}
AdapterNamesstring2-{'out':True}
NetConNamestring3-{'out':True}
Description'Obtains entire list of Token Redirectable addresses or DNS Eligible address.'
ImplementedTrue
GetRedirectableAddresses method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PingSessionDirectory method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ServerNamestring0-{'in':True}
Description'Attempts to access a session directory server'
ImplementedTrue
PingSessionDirectory method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetCurrentRedirectableAddresses method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
fTokenRedirectionuint320-{'in':True}
IPAddressesstring1-{'in':True}
Description'Writes out the configured list of either Token Redirectable addresses or DNS Eligible addresses.'
ImplementedTrue
SetCurrentRedirectableAddresses method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetLoadBalancingState method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StateValueuint320-{'in':True}
Description'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'
ImplementedTrue
SetLoadBalancingState method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetServerWeight method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ServerWeightValueuint320-{'in':True}
Description'Sets the server weight value for Session Broker Load Balancing. Valid range is 1 to 10000.'
ImplementedTrue
SetServerWeight method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetSessionDirectoryActive method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SessionDirectoryActiveuint320-{'In':True}
Description'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.'
ImplementedTrue
SetSessionDirectoryActive method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetSessionDirectoryExposeServerIP method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SessionDirectoryExposeServerIPuint320-{'In':True}
Description'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.'
ImplementedTrue
SetSessionDirectoryExposeServerIP method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetSessionDirectoryProperty method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PropertyNamestring0-{'In':True}
Valuestring1-{'In':True}
Description'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.'
ImplementedTrue
SetSessionDirectoryProperty method is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Detailed description of Win32_TSSessionDirectory properties

Local properties (13) of Win32_TSSessionDirectory class

GetLoadBalancingState property
CIMTYPE'uint32'
Description'GetLoadBalancingState indicates whether the server is configured to participate in Session Broker Load Balancing or not.'
readTrue
GetLoadBalancingState property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
GetServerWeight property
CIMTYPE'uint32'
Description'GetServerWeight returns the Server weight value used in Session Broker Load Balancing.'
readTrue
GetServerWeight property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
GetTSRedirectorMode property
CIMTYPE'uint32'
Description'GetTSRedirectorMode indicates whether the server is configured to be a Redirector or not.'
readTrue
GetTSRedirectorMode property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceLoadBalancing property
CIMTYPE'uint32'
Description'PolicySourceLoadBalancing indicates whether the property GetLoadBalancingStateis configured by Server (0) or Group Policy (1).'
readTrue
PolicySourceLoadBalancing property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceSessionDirectoryActive property
CIMTYPE'uint32'
Description'PolicySourceSessionActive indicates whether the property SessionDirectoryActive is configured by Server (0) or Group Policy (1).'
readTrue
PolicySourceSessionDirectoryActive property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceSessionDirectoryClusterName property
CIMTYPE'uint32'
Description'PolicySourceSessionDirectoryClusterName indicates whether the property SessionDirectoryClusterName is configured by Server (0) or Group Policy (1).'
readTrue
PolicySourceSessionDirectoryClusterName property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceSessionDirectoryExposeServerIP property
CIMTYPE'uint32'
Description'PolicySourceSessionDirectoryExposeServerIP indicates whether the property SessionDirectoryExposeServerIP is configured by Server (0) or Group Policy (1).'
readTrue
PolicySourceSessionDirectoryExposeServerIP property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceSessionDirectoryLocation property
CIMTYPE'uint32'
Description'PolicySourceSessionDirectoryLocation indicates whether the property SessionDirectoryLocation is configured by Server (0) or Group Policy (1).'
readTrue
PolicySourceSessionDirectoryLocation property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SessionDirectoryActive property
CIMTYPE'uint32'
Description'Enables or Disables Session Directory.'
keyTrue
readTrue
Values['FALSE', 'TRUE']
SessionDirectoryActive property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SessionDirectoryClusterName property
CIMTYPE'string'
Description'Cluster to which this Terminal server belongs. Typically, it is a DNS entry which represents the Virtual IP address of computers.'
readTrue
SessionDirectoryClusterName property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SessionDirectoryExposeServerIP property
CIMTYPE'uint32'
Description'Allows or Denies retrieving IP address of the Session Directory.'
readTrue
Values['FALSE', 'TRUE']
SessionDirectoryExposeServerIP property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SessionDirectoryIPAddress property
CIMTYPE'string'
Description'Specifies the IP Address of the LanAdapter that is used by the Session Directory.'
readTrue
writeTrue
SessionDirectoryIPAddress property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SessionDirectoryLocation property
CIMTYPE'string'
Description'Network path location to the Session Directory.'
readTrue
SessionDirectoryLocation property is in 1 class (Win32_TSSessionDirectory) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Derived properties (5) of Win32_TSSessionDirectory 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

Win32_TSSessionDirectory Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassContext'local|hkey_local_machine\SYSTEM\CurrentControlSet\Control\TerminalServer'
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.'
dynamicTrue
LOCALE1033
provider'Win32_WIN32_TSSESSIONDIRECTORY_Prov'

Win32_TSSessionDirectory System properties

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

Similar Classes to Win32_TSSessionDirectory

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_TSSessionDirectorySetting070----
comments powered by Disqus
WUtils.com