Click or drag to resize
ForumPostInfoProviderGetForumPosts Method (String, String, Int32, String)
Returns forum post DataSet.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static InfoDataSet<ForumPostInfo> GetForumPosts(
	string where,
	string orderBy = null,
	int topN = 0,
	string columns = null
)

Parameters

where
Type: SystemString
Where condition
orderBy (Optional)
Type: SystemString
Order by
topN (Optional)
Type: SystemInt32
Select top n columns
columns (Optional)
Type: SystemString
Columns which should be selected

Return Value

Type: InfoDataSetForumPostInfo
See Also