NET Logging Library
Connection Property (BaseDatabaseTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseDatabaseTarget Class : Connection Property
Get or set the database connection
Syntax
<XmlIgnoreAttribute()>
Public MustOverride Property Connection As IDbConnection
Dim instance As BaseDatabaseTarget
Dim value As IDbConnection
 
instance.Connection = value
 
value = instance.Connection
[XmlIgnore()]
public abstract IDbConnection Connection {get; set;}
[XmlIgnore()]
public:
abstract property IDbConnection^ Connection {
   IDbConnection^ get();
   void set (    IDbConnection^ value);
}
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

BaseDatabaseTarget Class
BaseDatabaseTarget Members