IAction::get_Type method

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

   
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