# InMemoryLeaseProvider.Renew(string, AcquiredLease[])

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.development.inmemoryleaseprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.development.inmemoryleaseprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Development/InMemoryLeaseProvider.cs#L52-L58)

```csharp
public Task<AcquireLeaseResult[]> Renew(string category, AcquiredLease[] acquiredLeases)
```

Batch renew lease operation

### Parameters

- `category` (`string`): resource category
- `acquiredLeases` (`AcquiredLease[]`)

### Returns

Lease renew results array, whose order is the same with acquiredLeases
