Click or drag to resize
BlogHelperGetBlogPosts Method
Returns DataSet with all posts from all blogs.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 10.0.0
Syntax
C#
public static DataSet GetBlogPosts(
	string siteName,
	string aliasPath,
	string cultureCode,
	bool combineWithDefaultCulture,
	string where,
	string orderBy,
	bool selectOnlyPublished
)

Parameters

siteName
Type: SystemString
Nodes site name
aliasPath
Type: SystemString
Path. It may contain % and _ as wild card characters for any number of unknown characters or one unknown character respectively (for MS SQL)
cultureCode
Type: SystemString
Nodes culture code
combineWithDefaultCulture
Type: SystemBoolean
Specifies if return the default culture document when specified culture not found
where
Type: SystemString
Where condition to use for parent blogs selection
orderBy
Type: SystemString
Order by clause to use for the data selection
selectOnlyPublished
Type: SystemBoolean
Select only published nodes

Return Value

Type: DataSet
See Also