BlogCommentInfoProvider GetComments Method (Int32, String, String, String, String, Int32, String, Int32, Int32, Int32 , String)Kentico 8.1 API Reference
Returns DataSet with all comments which belongs to the specified user or which are moderated by specified user.

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

Parameters

ownerId
Type: OnlineSystem Int32
Blog owner (user id)
moderator
Type: OnlineSystem String
Blog moderator (user name)
where
Type: OnlineSystem String
Where condition which specifies comments to be returned
blogWhere
Type: OnlineSystem String
Where condition which specifies blogs the comments should be returned from
columns
Type: OnlineSystem String
Columns to be selected
topN
Type: OnlineSystem Int32
Selects only top N items
order
Type: OnlineSystem String
Order by
offset
Type: OnlineSystem Int32
Index of first record to get
maxRecords
Type: OnlineSystem Int32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
totalRecords
Type: OnlineSystem Int32 
Returns total records
siteName
Type: OnlineSystem String
Site name of the blog

Return Value

Type: OnlineDataSet
See Also