Resolves the connection string from the ConnectionString, ConnectionStringName, or AppSettingsKey
property.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
protected virtual string ResolveConnectionString(
out string connectionStringContext
)
protected virtual string ResolveConnectionString(
out string connectionStringContext
)
Protected Overridable Function ResolveConnectionString (
<OutAttribute> ByRef connectionStringContext As String
) As String
Protected Overridable Function ResolveConnectionString (
<OutAttribute> ByRef connectionStringContext As String
) As String
protected:
virtual String^ ResolveConnectionString(
[OutAttribute] String^% connectionStringContext
)
protected:
virtual String^ ResolveConnectionString(
[OutAttribute] String^% connectionStringContext
)
Parameters
- connectionStringContext
- Type: System String
Additional information describing the connection string.
Return Value
Type:
StringA connection string used to connect to the database.
ConnectiongStringName is only supported on .NET 2.0 and higher.