Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines values for the kind of Terminal Server session state change you can use to trigger a task to start.
<xs:simpleType name="sessionStateChangeType">
<xs:restriction
base="string"
>
<xs:enumeration
value="ConsoleConnect"
/>
<xs:enumeration
value="ConsoleDisconnect"
/>
<xs:enumeration
value="RemoteConnect"
/>
<xs:enumeration
value="RemoteDisconnect"
/>
<xs:enumeration
value="SessionLock"
/>
<xs:enumeration
value="SessionUnlock"
/>
</xs:restriction>
</xs:simpleType>
Enumeration values
The sessionStateChangeType simple type defines the following values.
Value | Description |
---|---|
ConsoleConnect | Terminal Server console connection state change. For example, when you connect to a user session on the local computer by switching users on the computer. |
ConsoleDisconnect | Terminal Server console disconnection state change. For example, when you disconnect to a user session on the local computer by switching users on the computer. |
RemoteConnect | Terminal Server remote connection state change. For example, when a user connects to a user session by using the Remote Desktop Connection program from a remote computer. |
RemoteDisconnect | Terminal Server remote disconnection state change. For example, when a user disconnects from a user session while using the Remote Desktop Connection program from a remote computer. |
SessionLock | Terminal Server session locked state change. For example, this state change causes the task to run when the computer is locked. |
SessionUnlock | Terminal Server session unlocked state change. For example, this state change causes the task to run when the computer is unlocked. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |