Click or drag to resize
ForumAttachmentInfoProviderDeleteAttachmentFile Method
Delete forum attachment file stored in the file system.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static void DeleteAttachmentFile(
	string siteName,
	string attachmentFileName,
	bool deleteDirectory,
	bool synchronization
)

Parameters

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