# withOrleansProviderType

- Module: [Aspire.Hosting.Orleans](/reference/api/typescript/aspire.hosting.orleans.md)
- Version: `13.5.1`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/69db530a4816698cf1d5fa4557933e0ac4f127c6)

Configures a resource to use the specified Orleans provider type.

## Definition

```typescript
interface IResourceWithConnectionString {
  // ... omitted for brevity
  withOrleansProviderType(providerType: string): IResourceWithConnectionString
}
```

## Parameters

- `providerType` (`string`)

## Returns

`IResourceWithConnectionString` `builder`

## Applies to

- [IResourceWithConnectionString](/reference/api/typescript/aspire.hosting.orleans/iresourcewithconnectionstring.md)
