|
AdoMetadataProviderDataProviderString Property
|
Gets or sets the ADO.NET data provider assembly type creation string.
Namespace: GSF.Historian.MetadataProvidersAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.218-beta
Syntax public string DataProviderString { get; set; }
Public Property DataProviderString As String
Get
Set
member DataProviderString : string with get, set
function get_DataProviderString();
function set_DataProviderString(value);
View SourceProperty Value
StringRemarks
Expected keys: AssemblyName;ConnectionType
Examples:
Database Connection Type | Example ADO.NET Data Provider String |
---|
SQL Server | AssemblyName={System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089};ConnectionType=System.Data.SqlClient.SqlConnection |
MySQL | AssemblyName={MySql.Data, Version=5.2.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d};ConnectionType=MySql.Data.MySqlClient.MySqlConnection |
Oracle | AssemblyName={System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089};ConnectionType=System.Data.OracleClient.OracleConnection |
OleDb | AssemblyName={System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089};ConnectionType=System.Data.OleDb.OleDbConnection |
ODBC | AssemblyName={System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089};ConnectionType=System.Data.Odbc.OdbcConnection |
See Also