AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDocumentFolderManager.GetSubFolders Method (Int32, Int32, Int32, ObjectProperty, QueryFilter[])

Queries the subfolders and their properties for a specified folder in the Knowledge Directory.

IObjectQuery GetSubFolders(
int folderID,
int startRow,
int maxRows,
ObjectProperty sortProperty,
QueryFilter[] filters
);

#### Parameters

folderID
  The parent folder ID.
startRow
  The first row to retrieve (row numbers are zero-based).
maxRows
  The number of rows to retrieve; if set to -1, all rows are retrieved.
sortProperty
  The property on which to sort the query (specified using `DocumentFolderProperty`).
filters
  An array of query filters to narrow down the search.

#### Return Value

The subfolders and their properties.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | The operation resulted in an error in the portal.
RemoteException | There was a communication problem during the execution of the remote method call.

#### See Also

IDocumentFolderManager Interface | Plumtree.Remote.PRC Namespace | IDocumentFolderManager.GetSubFolders Overload List