FileSystemUpsertObjectsByTypeJobRunInternal Method |
Inserts all objects of given object type that are present in the file system repository to the database. If object already exists, it is updated.
Namespace: CMS.ContinuousIntegration.InternalAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 11.0.0
Syntax protected override void RunInternal(
string objectType,
ISet<RepositoryLocationsCollection> fileLocations,
CancellationToken cancellationToken
)
Parameters
- objectType
- Type: SystemString
Objects of given object type will be restored. - fileLocations
- Type: System.Collections.GenericISetRepositoryLocationsCollection
Set of all locations' of objects stored in the repository that are of given objectType. - cancellationToken
- Type: System.ThreadingCancellationToken
Operation can be canceled at any time using given cancellation token. This method's operation terminates as soon as cancellation request is detected.
Exceptions Remarks
This operation can be canceled using given cancellationToken at any time.
This method's operations throws OperationCanceledException as soon as cancellation request is detected.
See Also