Click or drag to resize
UpdateAttachmentWebFarmTask Class
Web farm task used to update attachment of documents.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.DocumentEngineUpdateAttachmentWebFarmTask

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public class UpdateAttachmentWebFarmTask : WebFarmTaskBase

The UpdateAttachmentWebFarmTask type exposes the following members.

Constructors
  NameDescription
Public methodUpdateAttachmentWebFarmTask
Initializes a new instance of UpdateAttachmentWebFarmTask.
Top
Properties
  NameDescription
Public propertyDeleteOldFiles
Gets or sets a value that indicates if files in destination folder with mask '[guid]*.*' should be deleted.
Public propertyFileExtension
Gets or sets extension of the file to be updated.
Public propertyFileGuid
Gets or sets identifier of the file to be updated.
Public propertyFileName
Gets or sets name of the file to be updated.
Public propertySiteName
Gets or sets name of the site which is file assigned to.
Public propertyTaskBinaryData
Gets or sets the binary representation of data.
(Inherited from WebFarmTaskBase.)
Public propertyTaskFilePath
Gets or sets target path of file transported by task.
(Inherited from WebFarmTaskBase.)
Public propertyTaskTarget
Gets or sets task target.
(Inherited from WebFarmTaskBase.)
Top
Methods
  NameDescription
Public methodConditionMethod
Returns true if the synchronization of the attachments is allowed.
(Overrides WebFarmTaskBaseConditionMethod.)
Public methodExecuteTask
Processes the web farm task by invoking the SaveFileToDisk(String, String, String, String, BinaryData, Boolean, Boolean) method while passing it current class' properties as its parameters.
(Overrides WebFarmTaskBaseExecuteTask.)
Top
See Also