ConnectionStringReference Properties
ClassProperties4 members
Represents a reference to a connection string.
Gets the expression for the referenced connection-string value.
public ReferenceExpression ConnectionStringExpression { get; }Remarks
Uses the resource's current connection-string expression unless the reference selects another connection-string value, such as an HTTP connection on a resource with multiple protocols.
EnvironmentVariableNames Section titled EnvironmentVariableNamesnullableConnection Gets the logical and physical environment-variable names when this reference represents a generated connection-string injection, or
null for a standalone value reference. public ConnectionStringEnvironmentVariableNames? EnvironmentVariableNames { get; } A flag indicating whether the connection string is optional.
public bool Optional { get; } The resource that the connection string is referencing.
public IResourceWithConnectionString Resource { get; }