Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 1.57 KB

trigger-id.md

File metadata and controls

69 lines (40 loc) · 1.57 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
Trigger.Id property
For scripting, gets or sets the identifier for the trigger.
15dd3aaa-f3ee-459d-a0bd-327c7a4beb03
Id property Task Scheduler
Id property Task Scheduler , Trigger object
Trigger object Task Scheduler , Id property
apiref
Trigger.Id
taskschd.dll
COM
reference
05/31/2018

Trigger.Id property

For scripting, gets or sets the identifier for the trigger.

Syntax

Trigger.Id As String

Property value

The identifier for the trigger. This identifier is used by the Task Scheduler for logging purposes.

Remarks

When reading or writing XML for a task, the trigger identifier is specified in the Id attribute of the individual trigger elements (for example, the Id attribute of the BootTrigger element) of the Task Scheduler schema.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Task Scheduler