Click or drag to resize
FileSystemRepositoryManagerRestoreAll Method
Restores all supported objects from the file system repository.

Namespace: CMS.ContinuousIntegration
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 9.0.0
Syntax
C#
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: RepositoryActionResult
Returns result object of the restoring process. Successful restoring is indicating by Success flag.
Exceptions
ExceptionCondition
RepositoryConfigurationExceptionThrown when loading of repository configuration fails.
Remarks
Storing of all and storing of individual objects (Store(BaseInfo)) is disabled when restoring of all objects is running.
See Also