Click or drag to resize
IMetaWeblogAPIDeletePost Method
Removes blog post.

Namespace: CMS.MetaWeblogProvider
Assembly: CMS.MetaWeblogProvider (in CMS.MetaWeblogProvider.dll) Version: 8.2.23
Syntax
C#
bool DeletePost(
	string key,
	string postid,
	string username,
	string password,
	bool publish
)

Parameters

key
Type: SystemString
This value is ignored. Required to keep blog compatibility
postid
Type: SystemString
ID of the post to delete
username
Type: SystemString
Name of the user performing action
password
Type: SystemString
Password to access user's account
publish
Type: SystemBoolean
This value is ignored. Required to keep blog compatibility

Return Value

Type: Boolean
See Also