You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > Blog Class > Blog Methods > AddBlog
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.AddBlog Method

Adds a blog to the ParentFolderID. Accepts standard blog properties. Returns the ID of the newly created blog.

C#
public Long AddBlog(Long ParentFolderID, String BlogName, String BlogTitle, String BlogDescription, Ektron.Cms.Common.EkEnumeration.BlogVisibility Visibility, Boolean EnableComments, Boolean ModerateComments, Boolean RequireAuthentication, String Categories, BlogRoll RollLinks);
Visual Basic
Public Function AddBlog(ByVal ParentFolderID As Long, ByVal BlogName As String, ByVal BlogTitle As String, ByVal BlogDescription As String, ByVal Visibility As Ektron.Cms.Common.EkEnumeration.BlogVisibility, ByVal EnableComments As Boolean, ByVal ModerateComments As Boolean, ByVal RequireAuthentication As Boolean, ByVal Categories() As String, ByVal RollLinks As BlogRoll) As Long
Parameters 
Description 
ParentFolderID 
 
BlogName 
Name of the Blog
BlogTitle 
Title of the Blog
BlogDescription 
Description of the Blog
Visibility 
If the blog is public, enter Public. If private, enter Private. 
EnableComments 
Enter True to allow commenting, otherwise enter false. 
ModerateComments 
If commenting is allowed, enter True to moderate comments. 
RequireAuthentication 
If commenting is allowed, require authentication to add comment. 
Categories 
String Array representing the categories for this blog. 
RollLinks 
The Blog's roll links. 

Numeric value of the blog ID that is greater than 0 (zero).

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!