CopyFileAction Fields |
The CopyFileAction type exposes the following members.
Name | Description | |
---|---|---|
ErrorHandler | Specifies an error handling method in case an exception occures during the execution of the action. (Inherited from BaseAction.) | |
Mode | Choose if the file should be copied or moved and if an existing file of the same name is overwritten. | |
RunWithElevatedPrivileges | If enabled, the action is executed with elevated privileges. (Inherited from ElevatedBaseAction.) | |
SourceExpression | Specifies a SPFile, SPListItem, IListItemWrapper or URL (or IEnumarable of these) of the file(s) to be copied or moved. | |
TargetUrlExpression | Specifies the destination URL. Optional {File.Name} is replaced by the source file name. |