Items Property

The Items property returns an ActiveX® Data Objects (ADO) recordset that contains the items in the folder.

Property Items As _Recordset [C++]
Get method:
HRESULT Items(_Recordset**varItems);

[Visual Basic]

Parameters

None.

Return Values

This property returns an ADO recordset that contains the items in the folder. All recordsets returned by PKMCDO have RecordCount equal to -1. Instead of relying on the count, call MoveNext in a loop that checks for Recordset.EOF. For information on the format of the returned recordset, see Recordset Format.

Error Values

If an error is raised, Err.Number is set to one of the values documented on the Error Messages page.

[C++]

Parameters

Get method:

  • varItems
    [out, retval] Address of a pointer to an ADO recordset that contains the items in the folder. All recordsets returned by PKMCDO have RecordCount equal to -1. Instead of relying on the count, call MoveNext in a loop that checks for Recordset.EOF. For information on the format of the returned recordset, see Recordset Format.
Return Value

For a list of error messages returned by SharePoint Portal Server, see Error Messages.

Remarks

This is a read-only property.