ITaskDefinition::Actions property

Gets or sets a collection of actions performed by the task.

This property is read/write.

Syntax


HRESULT put_Actions(
  [in]  IActionCollection *pActions
);

HRESULT get_Actions(
  [out] IActionCollection **ppActions
);

Property value

A collection of actions performed by the 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

 

 

Show: