Click or drag to resize
CopyFileMediaWebFarmTask Class
Web farm task used to clone media files.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.MediaLibraryCopyFileMediaWebFarmTask

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

The CopyFileMediaWebFarmTask type exposes the following members.

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