Click or drag to resize
MOVEitMessageInfoAttachmentAdd Method
Adds an existing file to the list of attachments.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
public bool AttachmentAdd(
	string LocalPath
)

Parameters

LocalPath
Type: SystemString
Path of local file to attach to the message.

Return Value

Type: Boolean
true if successful; otherwise, false.
Remarks
NOTE: This method will not set the StatusDescription property when an error occurs. If false is returned, check to make sure the source file exists and hasn't already been added as an attachment. Also make sure the message state is "Pending".
See Also