Share via


IConnectionInfoResolver.Resolve(String) Method

Definition

Attempts to resolve the connection info given a name.

public Microsoft.Extensions.Configuration.IConfigurationSection Resolve (string name);
abstract member Resolve : string -> Microsoft.Extensions.Configuration.IConfigurationSection
Public Function Resolve (name As String) As IConfigurationSection

Parameters

name
String

The name of the connection information.

Returns

The resolved connection information.

Remarks

Depending on the configuration, the value may either be a connection string in the Value property, or a user-defined type made up of one or more key-value pairs.

Applies to