# SQSStreamProviderUtils Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleansawsutils.streams.sqsstreamproviderutils/)

## DeleteAllUsedQueues(string, string, string, ILoggerFactory) {#deleteallusedqueues-string-string-string-microsoft-extensions-logging-iloggerfac-36722805}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.sqs/orleansawsutils.streams.sqsstreamproviderutils/methods/deleteallusedqueues-string-string-string-microsoft-extensions-logging-iloggerfac-36722805/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/AWS/Orleans.Streaming.SQS/Streams/SQSStreamProviderUtils.cs#L22-L37)

```csharp
public static Task DeleteAllUsedQueues(string providerName, string clusterId, string storageConnectionString, ILoggerFactory loggerFactory)
```

Async method to delete all used queues, for specific provider and clusterId

### Parameters

- `providerName` (`string`)
- `clusterId` (`string`)
- `storageConnectionString` (`string`)
- `loggerFactory` (`ILoggerFactory`)

### Returns

Task object for this async method
