IAction::get_Type method (taskschd.h)

Gets the type of action.

This property is read-only.

Syntax

HRESULT get_Type(
  TASK_ACTION_TYPE *pType
);

Parameters

pType

Return value

None

Remarks

The action type is defined when the action is created and cannot be changed later. For information on creating an action, see IActionCollection.Create.

For information on how actions and tasks work together, see Task Actions.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IAction

TASK_ACTION_TYPE

Task Scheduler