Export (0) Print
Expand All

ITaskDefinition::Triggers property

Gets or sets a collection of triggers used to start a task.

This property is read/write.

Syntax


HRESULT put_Triggers(
  [in]   ITriggerCollection *pTriggers
);

HRESULT get_Triggers(
  [out]  ITriggerCollection **ppTriggers
);

Property value

A collection of triggers used to start a task.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

ITaskDefinition

 

 

Community Additions

ADD
Show:
© 2014 Microsoft