IExecAction::put_Arguments method (taskschd.h)

Gets or sets the arguments associated with the command-line operation.

This property is read/write.

Syntax

HRESULT put_Arguments(
  BSTR argument
);

Parameters

argument

Return value

None

Remarks

When reading or writing XML, the command-line operation arguments are specified in the Arguments 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]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IExecAction

Task Scheduler