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

Returns a dataset of all the topics belonging to a Forum

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

Syntax

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

Parameters

forumId
Type: System..::.Int32
The incoming Forum Id
numDays
Type: System..::.Int32
The number of days from which to list all the topics.

Return Value

Returns a dataset containing the list of all the topics belonging to that particular 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