DocumentHelper EnsureBlogPostHierarchy Method (TreeNode, TreeNode, TreeProvider)Kentico 8.0 API Reference
Ensures that the parent document of the blog post is blog month.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineInt32
ID of the new parent (blog month document if CMS.BlogMonth document type exists)
See Also