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.ContinuousIntegrationAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 13.0.131
Syntax 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:
BooleanFalse if the delete method throws an
IOException with
HResult 0x80070091 (ERROR_DIR_NOT_EMPTY), otherwise true.
See Also