Skip to content

DefaultConnectionStrings.ListConnectionStrings method

Lists all known connection strings.

public virtual IEnumerable<IConnectionString> ListConnectionStrings()

Return Value

The list of all registered connections.

Remarks

Only returns connection strings that are actually configured. Connection keys that are only resolved through a ConnectionKeyFallbackAttribute fallback are not included unless they are also configured.

See Also