BlogHelperGetParentBlog Method (Int32, Boolean) |
Returns parent blog of the specified document.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 9.0.0
Syntax public static TreeNode GetParentBlog(
int documentId,
bool selectOnlyPublished
)
Parameters
- documentId
- Type: SystemInt32
Document ID - selectOnlyPublished
- Type: SystemBoolean
Select only published
Return Value
Type:
TreeNodeSee Also