Skip to content

Latest commit

 

History

History
74 lines (42 loc) · 2.2 KB

taskschedulerschema-subscription-eventtriggertype-element.md

File metadata and controls

74 lines (42 loc) · 2.2 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
Subscription (eventTriggerType) Element
Specifies the XPath query that identifies the event that fires the trigger.
ea351a55-c6f9-4e39-b15e-c2a1027a1360
Subscription element Task Scheduler
apiref
Subscription
Schema
reference
05/31/2018

Subscription (eventTriggerType) Element

Specifies the XPath query that identifies the event that fires the trigger.

<xs:element name="Subscription"
    type="nonEmptyString"
 />

The Subscription element is defined by the eventTriggerType complex type.

Parent element

Element Derived from Description
EventTrigger eventTriggerType Specifies a trigger that starts a task when a system event occurs.

Remarks

For script development, the event subscription is specified by the EventTrigger.Subscription property.

For C++ development, the event subscription is specified by the IEventTrigger::Subscription property.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

Task Scheduler