IAzTasks::Count property

The Count property retrieves the number of IAzTask objects in the collection.

This property is read-only.

Syntax


HRESULT get_Count(
   LONG *plCount
);

Property value

Number of IAzTask objects in the collection.

Error codes

If the property access method get_Count succeeds, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

The Count property can be used to specify the last IAzTask object in a collection when retrieving a specific IAzTask object using the IAzTasks.Item property.

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_IAzTasks is defined as b338ccab-4c85-4388-8c0a-c58592bad398

 

 

Show: