Udostępnij za pośrednictwem


PostgresServerResource(String, ParameterResource, ParameterResource) Constructor

Definition

Initializes a new instance of the PostgresServerResource class.

public PostgresServerResource (string name, Aspire.Hosting.ApplicationModel.ParameterResource? userName, Aspire.Hosting.ApplicationModel.ParameterResource password);
new Aspire.Hosting.ApplicationModel.PostgresServerResource : string * Aspire.Hosting.ApplicationModel.ParameterResource * Aspire.Hosting.ApplicationModel.ParameterResource -> Aspire.Hosting.ApplicationModel.PostgresServerResource
Public Sub New (name As String, userName As ParameterResource, password As ParameterResource)

Parameters

name
String

The name of the resource.

userName
ParameterResource

A parameter that contains the PostgreSQL server user name, or null to use a default value.

password
ParameterResource

A parameter that contains the PostgreSQL server password.

Applies to