Click or drag to resize
FileSystemRepositoryManagerDelete Method
Deletes given object from the file system repository, if this object's serialization is enabled by the repository configuration.

Namespace: CMS.ContinuousIntegration
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
public static bool Delete(
	BaseInfo info
)

Parameters

info
Type: CMS.DataEngineBaseInfo

Return Value

Type: Boolean
Returns true if the object has been removed from the repository, false otherwise (i.e. object type is not to be included in the repository).
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when info is null.
InvalidOperationExceptionThrown when RestoreAllInternal(ActionLogItem, NullableCancellationToken) is running (in current or any other process), thus preventing the repository access.
RepositoryConfigurationExceptionThrown when loading of repository configuration fails.
See Also