| DeleteFileMediaWebFarmTask Class |
Namespace: CMS.MediaLibrary
public class DeleteFileMediaWebFarmTask : WebFarmTaskBase
The DeleteFileMediaWebFarmTask type exposes the following members.
| Name | Description | |
|---|---|---|
| DeleteFileMediaWebFarmTask |
Initializes a new instance of DeleteFileMediaWebFarmTask.
|
| Name | Description | |
|---|---|---|
| ApplyOnlyOnFiles |
Gets or sets a value that indicates if media deletion will be executed only on files.
| |
| DestinationLibraryId |
Gets or sets identifier of the library where file will be deleted.
| |
| DestinationPath |
Gets or sets relative path where file will be deleted.
| |
| SiteId |
Gets or sets identifier of the site which destination library is assigned to.
| |
| TaskBinaryData |
Gets or sets the binary representation of data.
(Inherited from WebFarmTaskBase.) | |
| TaskFilePath |
Gets or sets target path of file transported by task.
(Inherited from WebFarmTaskBase.) | |
| TaskTarget |
Gets or sets task target.
(Inherited from WebFarmTaskBase.) |
| Name | Description | |
|---|---|---|
| ConditionMethod |
Returns true whether the synchronization for deleting media files is allowed and provided storage is not shared.
(Overrides WebFarmTaskBaseConditionMethod.) | |
| ExecuteTask |
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.) |