DbProviderFactory.CreateDataSource(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new instance of the provider's class that implements the DbDataSource class, representing the database for the given connection string and ready to hand out connections to it.
public:
virtual System::Data::Common::DbDataSource ^ CreateDataSource(System::String ^ connectionString);
public virtual System.Data.Common.DbDataSource CreateDataSource (string connectionString);
abstract member CreateDataSource : string -> System.Data.Common.DbDataSource
override this.CreateDataSource : string -> System.Data.Common.DbDataSource
Public Overridable Function CreateDataSource (connectionString As String) As DbDataSource
Parameters
- connectionString
- String
The connection string of the database to be represented by this DbDataSource. The exact contents of the connection string depend on the specific data source for this connection.
Returns
A new instance of DbDataSource.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.