Click or drag to resize
BlogCommentInfoProviderGetComments Method (Int32, String, String, String, String, Int32)
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: 9.0.0
Syntax
C#
public static DataSet GetComments(
	int ownerId,
	string moderator,
	string where,
	string blogWhere,
	string columns = null,
	int topN = -1
)

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 (Optional)
Type: SystemString
Columns to be selected
topN (Optional)
Type: SystemInt32
Selects only top N items

Return Value

Type: DataSet
See Also