Click or drag to resize
FileSystemRepositoryHelperDeleteDirectoryInternal Method
Deletes a directory specified by directoryPath. If the delete method throws an IOException with HResult 0x80070091 (ERROR_DIR_NOT_EMPTY), it is ignored.

Namespace: CMS.ContinuousIntegration
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
protected virtual bool DeleteDirectoryInternal(
	string directoryPath,
	bool recursive
)

Parameters

directoryPath
Type: SystemString
Absolute path to the directory.
recursive
Type: SystemBoolean
True to remove directories, subdirectories, and files in path, otherwise false.

Return Value

Type: Boolean
False if the delete method throws an IOException with HResult 0x80070091 (ERROR_DIR_NOT_EMPTY), otherwise true.
See Also