Skip to content
Docs Try Aspire

SqlServerDatabaseResource Constructors

Class Constructors 1 member
A resource that represents a SQL Server database that is a child of a SQL Server container resource.
Constructor(string, string, SqlServerServerResource) Section titled Constructor(string, string, SqlServerServerResource)
A resource that represents a SQL Server database that is a child of a SQL Server container resource.
public class SqlServerDatabaseResource
{
public SqlServerDatabaseResource(
string name,
string databaseName,
SqlServerServerResource parent)
{
// ...
}
}
name string The name of the resource.
databaseName string The database name.
parent SqlServerServerResource The parent SQL Server server resource.