Click or drag to resize
BlogHelperGetParentBlog Method (Int32, Boolean)
Returns parent blog of the specified document.

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 8.2.23
Syntax
C#
public static TreeNode GetParentBlog(
	int documentId,
	bool selectOnlyPublished
)

Parameters

documentId
Type: SystemInt32
Document ID
selectOnlyPublished
Type: SystemBoolean
Select only published

Return Value

Type: TreeNode
See Also