# SqlProjectResource.withDacDeployOptions

- Module: [CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects.md)
- Defined on: [SqlProjectResource](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/sqlprojectresource.md)
- Version: `13.4.0`
- Kind: `method`

Sets the publish profile path used for DAC deployment options.

## Definition

```typescript
interface SqlProjectResource {
  // ... omitted for brevity
  withDacDeployOptions(optionsPath: string): SqlProjectResource;
}
```

## Signature

```typescript
withDacDeployOptions(optionsPath: string): SqlProjectResource
```

## Parameters

- `optionsPath` (`string`)

## Returns

[SqlProjectResource](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/sqlprojectresource.md) `builder`

## Defined on

- [SqlProjectResource](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/sqlprojectresource.md) -- `handle`
