# IPackageMetadata

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

Represents metadata for a referenced NuGet package.

## Definition

```csharp
namespace Aspire.Hosting;

public interface IPackageMetadata
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Properties

- [PackageId](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/ipackagemetadata/properties.md#packageid) : `string` `abstract` `get` -- Gets the unique identifier of the package.
- [PackagePath](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/ipackagemetadata/properties.md#packagepath) : `string` `abstract` `get` -- Gets the physical location on disk of the package.
- [PackageVersion](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/ipackagemetadata/properties.md#packageversion) : `Version` `abstract` `get` -- Gets the version of the package.
