| BlogCommentInfoProviderGetPostComments Method  | 
            Returns DataSet with post comments which are not marked as spam.
            
 
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.2.23
Syntaxpublic static DataSet GetPostComments(
	int postDocumentId,
	bool onlyApproved,
	bool includingSpam = false,
	bool includingTrackbacks = true
)
Parameters
- postDocumentId
 - Type: SystemInt32
Post documentID - onlyApproved
 - Type: SystemBoolean
Indicates if only approved comments should be returned - includingSpam (Optional)
 - Type: SystemBoolean
Indicates if comments which are marked as SPAM should be included in the result - includingTrackbacks (Optional)
 - Type: SystemBoolean
Indicates if comments which are marked as trackback comments should be included in the result 
Return Value
Type: 
DataSet
See Also