Редагувати

Поділитися через


DbProviderServices.GetProviderFactory(DbConnection) Method

Definition

Retrieves the DbProviderFactory based on the specified DbConnection.

public:
 static System::Data::Common::DbProviderFactory ^ GetProviderFactory(System::Data::Common::DbConnection ^ connection);
public static System.Data.Common.DbProviderFactory GetProviderFactory (System.Data.Common.DbConnection connection);
static member GetProviderFactory : System.Data.Common.DbConnection -> System.Data.Common.DbProviderFactory
Public Shared Function GetProviderFactory (connection As DbConnection) As DbProviderFactory

Parameters

connection
DbConnection

The connection to use.

Returns

The retrieved DbProviderFactory.

Applies to