sessionStateChangeTriggerType Complex Type
Defines the elements used to create a task trigger for console connect or disconnect, remote connect or disconnect, or workstation lock or unlock notifications.
<xs:complexType name="sessionStateChangeTriggerType">
<xs:complexContent>
<xs:extension
base="triggerBaseType"
>
<xs:sequence>
<xs:element name="UserId"
type="nonEmptyString"
minOccurs="0"
/>
<xs:element name="Delay"
type="duration"
default="PT0M"
minOccurs="0"
/>
<xs:element name="StateChange"
type="sessionStateChangeType"
minOccurs="1"
maxOccurs="1"
/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Child elements
Element | Type | Description |
---|---|---|
Delay | duration | Specifies a value that indicates the length of the delay before a task is started when a Terminal Server session state change is detected. |
StateChange | sessionStateChangeType | Specifies the kind of Terminal Server session change that would trigger a task launch. |
UserId | nonEmptyString | Specifies the user for the Terminal Server session. When a session state change is detected for this user, a task is started. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: