SqlServerServerResource
Class net10.0
A resource that represents a SQL Server container.
namespace Aspire.Hosting.ApplicationModel;
public class SqlServerServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
11 members
Constructors1
Section titled ConstructorsSqlServerServerResource(string, ParameterResource) Initializes a new instance of the
SqlServerServerResource class. Properties9
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the SQL Server.
DatabasesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the database name.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
JdbcConnectionStringgetReferenceExpression Gets the JDBC connection string for the SQL Server.
PasswordParametergetParameterResource Gets the parameter that contains the SQL Server password.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the SQL Server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the SQL Server.
UserNameReferencegetReferenceExpression Gets a reference to the user name for the SQL Server.