Deletes the specified comment from a document.

Syntax

Visual Basic (declaration)
Public Function DeleteDocumentComment( _ 
ByVal AuthenticationTicket as String, _ ByVal DocumentPath as String, _ ByVal CommentAuthorID as Integer, _ ByVal CommentDate as Date) as XmlNode

C# (declaration)
public XmlNode DeleteDocumentComment( 
string AuthenticationTicket, string DocumentPath, Integer CommentAuthorID, Date CommentDate)

Parameters

AuthenticationTicket
    string infoRouter ticket
DocumentPath
    string an infoRouter document path that the comment is written for
CommentAuthorID
    Integer UserID of the comment Author.
CommentDate
    Date Comment Date when the comment is written in time stamp format.

Return Value

<response success="true" error="">
if success attribute is "true", the document comment has been deleted successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must be the comment owner, the administrator or the domain manager.
Domain policy may restrict the comment deletion conditions.