ForumAttachmentInfoProvider DeleteAttachmentFile Method Kentico 8.0 API Reference
Delete forum attachment file stored in the file system.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteName
Type: OnlineSystem String
Site name
attachmentFileName
Type: OnlineSystem String
Name of the file to be deleted
deleteDirectory
Type: OnlineSystem Boolean
Determines whether delete specified directory or not
synchronization
Type: OnlineSystem Boolean
Indicates wehther the method is called due to synchronization
See Also