Windows Dev Center

IExecAction::Arguments property

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

This property is read/write.

Syntax


HRESULT put_Arguments(
  [in]  BSTR argument
);

HRESULT get_Arguments(
  [out] BSTR *pArgument
);

Property value

The arguments that are needed by the command-line operation.

Error codes

NameMeaning
S_OK

The property value was successfully set or retrieved.

Remarks

When reading or writing XML, the command-line operation arguments are specified in the Arguments element of the Task Scheduler schema.

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

Task Scheduler
IExecAction

 

 

Community Additions

ADD
Show:
© 2015 Microsoft