ForumAttachmentInfoProvider DeleteAttachmentFile Method Kentico 8.1 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.1.5347.20411)

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