Subtext.Framework.XmlRpc.MetaWeblog.deletePage C# (CSharp) Method

deletePage() public method

public deletePage ( string blog_id, string username, string password, string page_id ) : bool
blog_id string
username string
password string
page_id string
return bool
        public bool deletePage(string blog_id, string username, string password, string page_id)
        {
            ValidateUser(username, password, Config.CurrentBlog.AllowServiceAccess);

            try
            {
                Entries.Delete(Int32.Parse(page_id));
                return true;
            }
            catch
            {
                throw new XmlRpcFaultException(1, "Could not delete page: " + page_id);
            }
        }