IAzApplication::Tasks property

The Tasks property retrieves an IAzTasks object that is used to enumerate IAzTask objects from the policy data.

This property is read-only.

Syntax


HRESULT get_Tasks(
  [out] IAzTasks **ppTaskCollection
);

Property value

An IAzTasks object that is used to enumerate IAzTask objects from the policy data.

Error codes

If the property access method get_Tasks succeeds, the method returns S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

This property can be used only to enumerate IAzTask objects that are direct child objects of the IAzApplication object.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Azroles.h

Library

Azroles.lib

DLL

Azroles.dll

IID

IID_IAzApplication is defined as 987BC7C7-B813-4D27-BEDE-6BA5AE867E95

 

 

Show: