[This is preliminary documentation and is subject to change.]

Gets a list of topics corresponding to a particular Forum identified by forumId.

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public DataSet GetTopics(
	int forumId
)
Visual Basic (Declaration)
Public Function GetTopics ( _
	forumId As Integer _
) As DataSet
Visual C++
public:
DataSet^ GetTopics(
	int forumId
)

Parameters

forumId
Type: System..::.Int32
Id of a particular forum.

Return Value

DataSet containing all the information related to the topics belonging to a forum. The DataSet contains a single table with following columns.
  • status (System.String) status of a topic whether it is closed or not.
  • forumId (System.Int32) Id of the forum to which this topic belongs.
  • topicId (System.Int32) Id of the topic.
  • topicName (System.String) Name of the topic.
  • informMembers (System.String) Flag (Y/N) indicating whether to inform members when new posts are created in this topic.
  • createdByUserId (System.Int32) Id of the user who created the topic.
  • numberOfReplies (System.Int32) The number of replies created in the topic.
  • lastPostedTimestamp (System.DateTime) Date and Time when the last post was created in this topic.
  • createdByUser (System.String) Name of the user who created this topic.

See Also