NET Logging Library
SqlServerTarget Class Methods


KellermanSoftware.NetLoggingLibrary.Targets Namespace : SqlServerTarget Class

For a list of all members of this type, see SqlServerTarget members.

Public Methods
 NameDescription
Public Method Delete all the records in the logging table (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public MethodOverridden.  Delete all the records in the logging table  
Public Method Close the connection to the database if it is open (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public Method Create a stored procedure for logging  
Public Method Create a logging table  
Public MethodOverloaded.  Clear asynchronous queue and close connections (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public Method Wait to write out buffered and asynchronous targets (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Method Format a message with all selected options for the target (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Method Get the identity for the last insert in the current scope  
Public Method Get the SQL used to get the identity for the last inserted record  
Public MethodOverridden.  Insert a log message into a table  
Public Method Log a message to a database table (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public MethodOverridden.  Open the connection to the database  
Public Method Returns true if the stored procedure exists  
Public Method Returns true if the table exists  
Top
Protected Methods
 NameDescription
Protected Method Verify that the connection string and table name is set (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Protected Method Post processing of formatting a message for each field (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Top
See Also

Reference

SqlServerTarget Class
KellermanSoftware.NetLoggingLibrary.Targets Namespace