You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Blog Class > Blog Methods > DeletePost
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.DeletePost Method

Deletes a post by the post's ID This method will delete all comments associated with the post as well. Returns boolean value. 

This method can be accessed through the blog.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/Blog.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeletePost", Description = "")]
public bool DeletePost(long post_id);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeletePost", Description = "")>
Public Function DeletePost(post_id As long) As bool
Parameters 
Description 
post_id 
The numeric value of the post ID you wish to delete. 

Boolean

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!