Gets or sets the type name of the
IDbConnection connection
that should be created.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public string ConnectionType { get; set; }
public string ConnectionType { get; set; }
Public Property ConnectionType As String
Get
Set
Public Property ConnectionType As String
Get
Set
public:
property String^ ConnectionType {
String^ get ();
void set (String^ value);
}
public:
property String^ ConnectionType {
String^ get ();
void set (String^ value);
}
Property Value
Type:
String
The type name of the
IDbConnection connection.
The type name of the ADO.NET provider to use.
The default is to use the OLE DB provider.
Use the OLE DB Provider. This is the default value.
System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.OleDb.OleDbConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Use the MS SQL Server Provider.
System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.SqlClient.SqlConnection, System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Use the ODBC Provider.
Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral
Microsoft.Data.Odbc.OdbcConnection,Microsoft.Data.Odbc,version=1.0.3300.0,publicKeyToken=b77a5c561934e089,culture=neutral
This is an optional package that you can download from
http://msdn.microsoft.com/downloads
search for
ODBC .NET Data Provider.
Use the Oracle Provider.
System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data.OracleClient.OracleConnection, System.Data.OracleClient, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
This is an optional package that you can download from
http://msdn.microsoft.com/downloads
search for
.NET Managed Provider for Oracle.