Method RemoveSourceAsync
RemoveSourceAsync(string, string?, CancellationToken)
Deletes every chunk and state row under one source, in one transaction.
Task<int> RemoveSourceAsync(string sourceId, string? collectionName = null, CancellationToken ct = default)
Parameters
sourceIdstringThe source id.
collectionNamestringNull resolves to the single configured collection.
ctCancellationTokenCancels the removal.
Returns
Exceptions
- EdgeIngestionException
IngestionRunAlreadyActive (6008) while a run or another removal is active on this pipeline.