# DurableTaskSchedulerResource Properties

- Package: [Aspire.Hosting.Azure.Functions](/reference/api/csharp/aspire.hosting.azure.functions.md)
- Type: [DurableTaskSchedulerResource](/reference/api/csharp/aspire.hosting.azure.functions/durabletaskschedulerresource.md)
- Kind: `Properties`
- Members: `2`

Represents a Durable Task scheduler resource used in Aspire hosting that provides endpoints and a connection string for Durable Task orchestration scheduling.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskSchedulerResource.cs#L20)

Gets the expression that resolves to the connection string for the Durable Task scheduler.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## IsEmulator

- Name: `IsEmulator`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.Functions/DurableTask/DurableTaskSchedulerResource.cs#L28)

Gets a value indicating whether the Durable Task scheduler is running using the local emulator (container) instead of a cloud-hosted service.

```csharp
public bool IsEmulator { get; }
```
