AccountUpdateAttachmentComments Method
This method enables you to add or update comments to an attachment in the Attachment tab of an Account item.

Namespace:  AccountService
 

Syntax
C#
public long UpdateAttachmentComments(
	long lobjectType,
	long lobjectID,
	long lAttachmentId,
	string commentsData,
	out string error
)

Parameters

lobjectType
Type: SystemInt64
[in] The ID of the Account Object.
lobjectID
Type: SystemInt64
[in] The ID of the Account item for which you want to add or update comments to the attachment file in the Attachment tab.
lAttachmentId
Type: SystemInt64
[in] The ID of the attachment for which the comments must be added or updated.
commentsData
Type: SystemString
[in] Text that must be added or updated as comments for the attachment.
error
Type: SystemString
[out] The error messages returned when the update operation fails.

Return Value

Type: Int64
The UpdateAttachmentComments method returns 0 if the update operation is successful and a negative value if the operation fails.
See Also