ITaskDefinition::Settings property

Gets or sets the settings that define how the Task Scheduler service performs the task.

This property is read/write.

Syntax


HRESULT put_Settings(
  [in]  ITaskSettings *pSettings
);

HRESULT get_Settings(
  [out] ITaskSettings **ppSettings
);

Property value

The settings that define how the Task Scheduler service performs 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: