# CosmosOptions.CleanResourcesOnInitialization

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/orleans.persistence.cosmos.cosmosoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.persistence.cosmos/orleans.persistence.cosmos.cosmosoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Shared/Cosmos/CosmosOptions.cs)

```csharp
public bool CleanResourcesOnInitialization
```

Delete the database on initialization. Intended only for testing scenarios.
