Click or drag to resize
CreateFolderMediaWebFarmTask Class
Web farm task used to create media folders.
Inheritance Hierarchy
SystemObject
  CMS.CoreWebFarmTaskBase
    CMS.MediaLibraryCreateFolderMediaWebFarmTask

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

The CreateFolderMediaWebFarmTask type exposes the following members.

Constructors
  NameDescription
Public methodCreateFolderMediaWebFarmTask
Initializes a new instance of CreateFolderMediaWebFarmTask.
Top
Properties
  NameDescription
Public propertyDestinationLibraryId
Gets or sets identifier of the library where folder will be created.
Public propertyDestinationPath
Gets or sets relative path where folder will be created.
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 creating media folders is allowed and provided storage is not shared.
(Overrides WebFarmTaskBaseConditionMethod.)
Public methodExecuteTask
Processes the web farm task by invoking the CreateMediaLibraryFolder(String, Int32, String, Boolean, Boolean) method while passing it current class' properties as its parameters.
(Overrides WebFarmTaskBaseExecuteTask.)
Top
See Also