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: 12.0.0
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