Click or drag to resize
MoveFileMediaWebFarmTask Class
Web farm task used to move media files.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.MediaLibraryMoveFileMediaWebFarmTask

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

The MoveFileMediaWebFarmTask type exposes the following members.

Constructors
  NameDescription
Public methodMoveFileMediaWebFarmTask
Initializes a new instance of MoveFileMediaWebFarmTask
Top
Properties
  NameDescription
Public propertyDestinationLibraryId
Gets or sets identifier of the library where file will be moved.
Public propertyDestinationPath
Gets or sets relative path where file will be moved.
Public propertySiteName
Gets or sets name of the site which destination library is assigned to.
Public propertySourceLibraryId
Gets or sets identifier of the library from where file will be moved.
Public propertySourcePath
Gets or sets relative path from where file will be moved.
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 moving media files is allowed and provided storage is not shared.
(Overrides WebFarmTaskBaseConditionMethod.)
Public methodExecuteTask
Processes the web farm task by invoking the MoveMediaFile(String, Int32, Int32, String, String, Boolean) method while passing it current class' properties as its parameters.
(Overrides WebFarmTaskBaseExecuteTask.)
Top
See Also