Click or drag to resize
MetaFileInfoProviderDeleteFile Method
Delete all files with the same name ([name].*).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static void DeleteFile(
	string siteName,
	string fileName,
	bool deleteDirectory,
	bool synchronization
)

Parameters

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