Returns count of messages under message board specified by name and document ID.
Namespace: CMS.MessageBoardsAssembly: CMS.MessageBoards (in CMS.MessageBoards.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- boardId
- Type: System Int32
ID of the message board.
- approvedOnly
- Type: System Boolean
Allows to count approved messages only.
- withoutSpam
- Type: System Boolean
Allows to count messages not marked as spam only.
Return Value
Type: Int32See Also