FileSystemRepositoryManagerStoreAll Method |
Stores all supported objects to the file system repository.
Namespace: CMS.ContinuousIntegrationAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax public static RepositoryActionResult StoreAll(
Action<LogItem> messageHandler = null,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- messageHandler (Optional)
- Type: SystemActionLogItem
Handler with messages from store 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
Target location on the file system will be cleaned up before storing.
Restoring of all is disabled when storing of all objects is running.
See Also