Returns an array of IDiscussion
that contains discussions within the given project; the returned results will be sorted according to the given IFilter
.
null
. null
. An array of IDiscussion
that contains discussions within the given project.
IDiscussionFilter discussionFilter = discussionManager.CreateDiscussionFilter();
//limit the return results to be 10; setting this to 0 will return all results
discussionFilter.MaximumResults = 10;
//disable security checking on the returned objects against the user who performs this query,
//so that all objects will be returned
discussionFilter.RestoreSecurity = false;
//an array of IDiscussion are returned from queryDiscussions(); if no result is retrieved, a zero-length array will be returned
IDiscussion[] retrievedDiscussions = discussionManager.QueryDiscussions(project, discussionFilter);
Exception Type | Condition |
---|---|
InvalidOperationException | The project has not yet been stored or has already been removed. |
CollaborationException | The method call resulted in an error. |
SoapException | There is a communication problem during the execution of the remote method call. |
IDiscussionManager Interface | Plumtree.Remote.PRC.Collaboration.Discussion Namespace