IRegisteredTaskCollection::Count property

Gets the number of registered tasks in the collection.

This property is read-only.

Syntax


HRESULT get_Count(
  [out] long *pCount
);

Property value

The number of registered tasks in the collection.

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

Task Scheduler
IRegisteredTaskCollection

 

 

Show: