IHierarchyItem.SetCommentAndAuthor Method (String, String, String)

IT Hit WebDAV for .NET

Updates comment and author information.

[Visual Basic]
Sub SetCommentAndAuthor( _
   ByVal comment As String, _
   ByVal author As String, _
   ByVal lockToken As String _
)
[C#]
void SetCommentAndAuthor(
   string comment,
   string author,
   string lockToken
);

Parameters

comment
Comment about an item that is suitable for presentation to a user.
author
Description of the creator of the item.
lockToken
Lock token for this item.

Exceptions

Exception Type Condition
LockedException This item is locked and invalid lock token was provided.
ConflictException The item is version controlled and has to be checked out to be edited.
NotFoundException This item doesn't exist on the server.
WebDavHttpException Server returned unknown error.
WebDavException In case of any unexpected error.

See Also

IHierarchyItem Interface | ITHit.WebDAV.Client Namespace | IHierarchyItem.SetCommentAndAuthor Overload List