IResourceWithConnectionString.GetConnectionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a collection of connection property name and value pairs associated with the current context.
public virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Aspire.Hosting.ApplicationModel.ReferenceExpression>> GetConnectionProperties();
abstract member GetConnectionProperties : unit -> seq<System.Collections.Generic.KeyValuePair<string, Aspire.Hosting.ApplicationModel.ReferenceExpression>>
override this.GetConnectionProperties : unit -> seq<System.Collections.Generic.KeyValuePair<string, Aspire.Hosting.ApplicationModel.ReferenceExpression>>
Public Overridable Function GetConnectionProperties () As IEnumerable(Of KeyValuePair(Of String, ReferenceExpression))
Returns
An enumerable collection of key/value pairs, where each key is the name of a connection property and each value is its corresponding ReferenceExpression. The collection is empty if there are no connection properties.