Click or drag to resize
DeleteFileMediaWebFarmTask Class
Web farm task used to delete media files.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.MediaLibraryDeleteFileMediaWebFarmTask

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

The DeleteFileMediaWebFarmTask type exposes the following members.

Constructors
  NameDescription
Public methodDeleteFileMediaWebFarmTask
Initializes a new instance of DeleteFileMediaWebFarmTask.
Top
Properties
  NameDescription
Public propertyApplyOnlyOnFiles
Gets or sets a value that indicates if media deletion will be executed only on files.
Public propertyDestinationLibraryId
Gets or sets identifier of the library where file will be deleted.
Public propertyDestinationPath
Gets or sets relative path where file will be deleted.
Public propertySiteId
Gets or sets identifier of the site which destination library is 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 whether the synchronization for deleting media files is allowed and provided storage is not shared.
(Overrides WebFarmTaskBaseConditionMethod.)
Public methodExecuteTask
Processes the web farm task by invoking the DeleteMediaFile(Int32, Int32, String, Boolean, Boolean) method while passing it current class' properties as its parameters.
(Overrides WebFarmTaskBaseExecuteTask.)
Top
See Also