BlogCommentInfoProviderGetCommentsInternal Method |
Returns DataSet with all comments which belongs to the specified user or which are moderated by specified user.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 11.0.0
Syntax protected virtual DataSet GetCommentsInternal(
int ownerId,
string moderator,
string where,
string blogWhere,
string columns,
int topN,
string order,
int offset,
int maxRecords,
ref int totalRecords,
string siteName
)
Parameters
- ownerId
- Type: SystemInt32
Blog owner (user id) - moderator
- Type: SystemString
Blog moderator (user name) - where
- Type: SystemString
Where condition which specifies comments to be returned - blogWhere
- Type: SystemString
Where condition which specifies blogs the comments should be returned from - columns
- Type: SystemString
Columns to be selected - topN
- Type: SystemInt32
Selects only top N items - order
- Type: SystemString
Order by - offset
- Type: SystemInt32
Index of first record to get - maxRecords
- Type: SystemInt32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used) - totalRecords
- Type: SystemInt32
Returns total records - siteName
- Type: SystemString
Site name of the blog
Return Value
Type:
DataSetSee Also