FileSystemRepositoryManagerDelete Method |
Deletes given object from the file system repository, if this object's serialization is enabled by the repository configuration.
Namespace: CMS.ContinuousIntegrationAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 9.0.0
Syntax public static bool Delete(
BaseInfo info
)
Parameters
- info
- Type: CMS.DataEngineBaseInfo
Return Value
Type:
BooleanReturns 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 Exception | Condition |
---|
ArgumentNullException | Thrown when info is null. |
InvalidOperationException | Thrown when StoreAllInternal(ActionLogItem, NullableCancellationToken) or RestoreAllInternal(ActionLogItem, NullableCancellationToken) is running (in current or any other process), thus preventing the repository access. |
RepositoryConfigurationException | Thrown when loading of repository configuration fails. |
See Also