Share via


SqlServerDatabaseResource(String, String, SqlServerServerResource) Constructor

Definition

A resource that represents a SQL Server database that is a child of a SQL Server container resource.

public SqlServerDatabaseResource (string name, string databaseName, Aspire.Hosting.ApplicationModel.SqlServerServerResource parent);
new Aspire.Hosting.ApplicationModel.SqlServerDatabaseResource : string * string * Aspire.Hosting.ApplicationModel.SqlServerServerResource -> Aspire.Hosting.ApplicationModel.SqlServerDatabaseResource
Public Sub New (name As String, databaseName As String, parent As SqlServerServerResource)

Parameters

name
String

The name of the resource.

databaseName
String

The database name.

parent
SqlServerServerResource

The parent SQL Server server resource.

Applies to