IRegisteredTask::Path property

Gets the path to where the registered task is stored.

This property is read-only.

Syntax


HRESULT get_Path(
  [out] BSTR *pPath
);

Property value

The path to where the registered task is stored.

Error codes

NameMeaning
S_OK

The property value was successfully 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

Task Scheduler
IRegisteredTask

 

 

Show: