NET Logging Library
SqlServerTarget Class
Members 



KellermanSoftware.NetLoggingLibrary.Targets Namespace : SqlServerTarget Class
Log to a SQL Server Database. By default a stored procedure and a log table is automatically created when the first entry is logged.
The default table name is tblLog and the default stored procedure name is spinsert_tbllog
Syntax
<XmlIncludeAttribute(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)>
<SerializableAttribute()>
Public Class SqlServerTarget 
   Inherits BaseDatabaseTarget
   Implements IAutoSetupStoredProcedureIAutoSetupTableICloseConnectionIIdentityITarget 
Dim instance As SqlServerTarget
[XmlInclude(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)]
[Serializable()]
public class SqlServerTarget : BaseDatabaseTarget, IAutoSetupStoredProcedureIAutoSetupTableICloseConnectionIIdentityITarget  
[XmlInclude(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)]
[Serializable()]
public ref class SqlServerTarget : public BaseDatabaseTarget, IAutoSetupStoredProcedureIAutoSetupTableICloseConnectionIIdentityITarget  
Inheritance Hierarchy

System.Object
   KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget
      KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget
         KellermanSoftware.NetLoggingLibrary.Targets.SqlServerTarget

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlServerTarget Members
KellermanSoftware.NetLoggingLibrary.Targets Namespace