Subfolders Property

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

Property Subfolders As _Recordset[C++]
Get method:
HRESULT get_Subfolders(_Recordset**varSubfolders);

[Visual Basic]

Parameters

None.

Return Values

This property returns an ADO recordset that contains the subfolders in a 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:

  • varSubfolders
    [out, retval] Address of a pointer to an ADO recordset that contains the subfolders in a 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 Values

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

Remarks

This is a read-only property.