BlogHelperGetParentBlog Method (String, String, Boolean) |
Returns parent blog of the specified document.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax public static TreeNode GetParentBlog(
string aliasPath,
string siteName,
bool selectOnlyPublished
)
Parameters
- aliasPath
- Type: SystemString
Alias path - siteName
- Type: SystemString
Site name - selectOnlyPublished
- Type: SystemBoolean
Select only published
Return Value
Type:
TreeNodeSee Also