Click or drag to resize

DatabaseTargetBuildConnectionString Method

Build the connectionstring from the properties.

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
protected string BuildConnectionString(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
Event to render the layout inside the properties.

Return Value

Type: String
Remarks
Using ConnectionString at first, and falls back to the properties DBHost, DBUserName, DBPassword and DBDatabase
See Also