MetaFileInfoProviderDeleteFile Method |
Delete all files with the same name ([name].*).
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax 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