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.1.5347.20411)
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:See Also