AttachmentInfoProvider DeleteFile Method Kentico 8.1 API Reference
Delete all files with the same name ([name].*) in specified directory.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

fileGuid
Type: OnlineSystem Guid
GUID of the file to delete
siteName
Type: OnlineSystem String
Site name
deleteDirectory
Type: OnlineSystem Boolean
Determines whether delete specified directory or not
synchronization (Optional)
Type: OnlineSystem Boolean
Indicates whether the method is called due to synchronization
See Also