 | DatabaseTarget Constructor (String) |
Namespace:
NLog.Targets
Assembly:
NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic DatabaseTarget(
string name
)
Public Sub New (
name As String
)
Dim name As String
Dim instance As New DatabaseTarget(name)
new :
name : string -> DatabaseTarget
Parameters
- name
- Type: SystemString
Name of the target.
Remarks
Not compatible with AOT since using type-reflection with
DBProvider to resolve DbConnection-factory.
See Also