Export (0) Print
Expand All

ITaskSettings3::Volatile property

Gets or sets a boolean value that indicates whether the task is automatically disabled every time Windows starts.

This property is read/write.

Syntax


HRESULT put_Volatile(
  [in]   VARIANT_BOOL volatile
);

HRESULT get_Volatile(
  [out]  VARIANT_BOOL *pVolatile
);

Property value

TRUE to disable the task automatically at Windows startup; otherwise, FALSE.

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:
© 2015 Microsoft