log4net SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppender.ResolveConnectionString Method 

Resolves the connection string from the ConnectionString, ConnectionStringName, or AppSettingsKey property.

[Visual Basic]
Overridable Protected Function ResolveConnectionString( _
   ByRef connectionStringContext As String _
) As String
[C#]
protected virtual string ResolveConnectionString(
   out string connectionStringContext
);

Parameters

connectionStringContext
Additional information describing the connection string.

Return Value

A connection string used to connect to the database.

Remarks

ConnectiongStringName is only supported on .NET 2.0 and higher.

See Also

AdoNetAppender Class | log4net.Appender Namespace