BlogHelperGetParentBlog Method (String, String, Boolean) |
Returns parent blog of the specified document.
Namespace: CMS.BlogsAssembly: CMS.Blogs (in CMS.Blogs.dll) Version: 9.0.0
Syntaxpublic 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:
TreeNode
See Also