# DacDeployOptionsAnnotation

- Kind: `record`
- Package: [CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/DacDeployOptionsAnnotation.cs)
- Implements: `IResourceAnnotation`, `IEquatable<DacDeployOptionsAnnotation>`

Represents a metadata annotation that specifies dacpac deployment options.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public record DacDeployOptionsAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation,
      System.IEquatable<Aspire.Hosting.ApplicationModel.DacDeployOptionsAnnotation>
{
    // ...
}
```

## Constructors

- [DacDeployOptionsAnnotation(string)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/constructors.md#constructor-string) -- Represents a metadata annotation that specifies dacpac deployment options.

## Properties

- [OptionsPath](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/properties.md#optionspath) : `string` `get; init` -- path to deployment options xml file

## Methods

- [<Clone>$](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#clone) : [DacDeployOptionsAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md) `virtual`
- [Deconstruct(string)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#deconstruct-string)
- [Equals(object?)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#equals-object) : `bool` -- Determines whether the specified object is equal to the current object.
- [Equals(DacDeployOptionsAnnotation?)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#equals-dacdeployoptionsannotation) : `bool` `virtual` -- Indicates whether the current object is equal to another object of the same type.
- [GetHashCode](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#gethashcode) : `int` -- Serves as the default hash function.
- [op_Equality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#op-equality-dacdeployoptionsannotation-dacdeployoptionsannotation) : `bool` `static`
- [op_Inequality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#op-inequality-dacdeployoptionsannotation-dacdeployoptionsannotation) : `bool` `static`
- [ToString](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation/methods.md#tostring) : `string` -- Returns a string that represents the current object.
