AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDocumentManager.QueryContainingFolders Method

Queries for all folders which contain a specific document

IObjectQuery QueryContainingFolders(
int documentID
);

#### Parameters

documentID
  The ID of the document to query for.

#### Return Value

The folder objects that contain the document.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | The operation resulted in an error on the portal.
SoapException | There was a communication problem during the execution of the remote method call.
ArgumentException | if passed an invalid document ID.

#### See Also

IDocumentManager Interface | Plumtree.Remote.PRC Namespace