Plumtree EDK (Enterprise Web Development Kit) 5.4.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

Containing folder objects

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | if the operation resulted in an error on the portal
SoapException | if there is 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