Export (0) Print
Expand All

ITaskSettings3::MaintenanceSettings property

Gets or sets a pointer to pointer to an IMaintenanceSettingsobject that Task scheduler uses to perform a task during Automatic maintenance.

This property is read/write.

Syntax


HRESULT put_MaintenanceSettings(
  [in]   IMaintenanceSettings *pMaintenanceSettings
);

HRESULT get_MaintenanceSettings(
  [out]  IMaintenanceSettings **ppMaintenanceSettings
);

Property value

A pointer to a pointer to an IMaintenanceSettings object.

Error codes

If the method succeeds, it returns S_OK. Otherwise, it returns an error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Taskschd.h

IDL

Taskschd.idl

Library

Taskschd.lib

DLL

Taskschd.dll

See also

ITaskSettings3

 

 

Community Additions

ADD
Show:
© 2014 Microsoft