Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# ICommunityManager.GetCommunityPages Method

Queries the community pages and their properties for a given community.

IObjectQuery GetCommunityPages(
int communityID
);

#### Parameters

communityID
  is the community ID to retrieve the pages for.

#### Return Value

The pages within the community.

#### Remarks

The `IObjectQueryRow` objects in the `IObjectQuery` are returned in the same order as the pages in the community; using the server api terminology, the pages are sorted by `PT_PROPIDS.PT_PROPID_PAGES_TOPICPOS`.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | if the operation resulted in an error on the portal.
RemoteException | if there is a communication problem during the execution of the remote method call.

#### See Also

ICommunityManager Interface | Plumtree.Remote.PRC Namespace