FileSystemRepositoryManagerRestoreAll Method |
Restores all supported objects from the file system repository.
Namespace: CMS.ContinuousIntegrationAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 9.0.0
Syntax public static RepositoryActionResult RestoreAll(
Action<LogItem> messageHandler = null,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- messageHandler (Optional)
- Type: SystemActionLogItem
Handler with messages from restore process. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
Operation can be canceled at any time using given cancellation token. This method's operation terminates as soon as cancellation request is detected.
Return Value
Type:
RepositoryActionResultReturns result object of the restoring process. Successful restoring is indicating by
Success flag.
Exceptions Remarks
Storing of all and storing of individual objects (
Store(BaseInfo)) is disabled when restoring of all objects is running.
See Also