ITaskService::Connected property

Gets a Boolean value that indicates if you are connected to the Task Scheduler service.

This property is read-only.

Syntax


HRESULT get_Connected(
  [out] VARIANT_BOOL *pConnected
);

Property value

A Boolean value that indicates if you are connected to the Task Scheduler service.

Error codes

NameMeaning
S_OK

The property value was successfully retrieved.

E_POINTER

The pConnected parameter is NULL.

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

ITaskService

 

 

Show: