Subscription (eventTriggerType) Element
TOC
Collapse the table of content
Expand the table of content

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

ElementDerived fromDescription
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

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

 

 

Community Additions

ADD
Show:
© 2016 Microsoft