BlogCommentInfoProvider GetPostComments Method Kentico 8.0 API Reference
Returns DataSet with post comments which are not marked as spam.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

postDocumentId
Type: OnlineSystem Int32
Post documentID
onlyApproved
Type: OnlineSystem Boolean
Indicates if only approved comments should be returned
includingSpam (Optional)
Type: OnlineSystem Boolean
Indicates if comments which are marked as SPAM should be included in the result
includingTrackbacks (Optional)
Type: OnlineSystem Boolean
Indicates if comments which are marked as trackback comments should be included in the result

Return Value

Type: OnlineDataSet
See Also