# LeaseBasedQueueBalancerOptions.LeaseLength

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.configuration.leasebasedqueuebalanceroptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueBalancer/LeaseBasedQueueBalancerOptions.cs)

```csharp
public TimeSpan LeaseLength
```

Gets or sets the length of the lease.

### Value

The length of the lease.
