| MOVEitMessageInfoAttachmentAdd Method | 
            Adds an existing file to the list of attachments.
            
 
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
 Syntax
Syntaxpublic bool AttachmentAdd(
	string LocalPath
)
Public Function AttachmentAdd ( 
	LocalPath As String
) As Boolean
public:
bool AttachmentAdd(
	String^ LocalPath
)
Parameters
- LocalPath
- Type: SystemString
 Path of local file to attach to the message.
Return Value
Type: 
Booleantrue if successful; otherwise, 
false.
 Remarks
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
See Also