# SqlProjectResource Properties

- Package: [CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects.md)
- Type: [SqlProjectResource](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/sqlprojectresource.md)
- Kind: `Properties`
- Members: `3`

Represents a SQL Server Database project resource.

## DacDeployOptionsPath

- Name: `DacDeployOptionsPath`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectResource.cs#L24-L26)

Gets the configured path to the deployment options publish profile.

```csharp
public string? DacDeployOptionsPath { get; }
```

## DacpacPath

- Name: `DacpacPath`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectResource.cs#L17-L19)

Gets the configured path to the .dacpac file.

```csharp
public string? DacpacPath { get; }
```

## SkipWhenDeployed

- Name: `SkipWhenDeployed`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectResource.cs#L31)

Gets a value indicating whether deployment should be skipped when the dacpac has already been deployed.

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