Click or drag to resize
DeleteFolderMediaWebFarmTask Class
Web farm task used to delete media folders.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.MediaLibraryDeleteFolderMediaWebFarmTask

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

The DeleteFolderMediaWebFarmTask type exposes the following members.

Constructors
  NameDescription
Public methodDeleteFolderMediaWebFarmTask
Initializes a new instance of DeleteFolderMediaWebFarmTask.
Top
Properties
  NameDescription
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 propertySiteName
Gets or sets name 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 DeleteMediaLibraryFolder(String, String, Boolean, Boolean) method while passing it current class' properties as its parameters.
(Overrides WebFarmTaskBaseExecuteTask.)
Top
See Also