SqlDatabaseSchemaProviderFamily.DetermineDatabaseSchemaProvider Method
Determines the version-specific type of SqlDatabaseSchemaProvider that is appropriate to a SQL Server database.
Namespace: Microsoft.Data.Schema.Sql
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Overrides Function DetermineDatabaseSchemaProvider ( _
connectionString As String _
) As Type
public override Type DetermineDatabaseSchemaProvider(
string connectionString
)
public:
virtual Type^ DetermineDatabaseSchemaProvider(
String^ connectionString
) override
abstract DetermineDatabaseSchemaProvider :
connectionString:string -> Type
override DetermineDatabaseSchemaProvider :
connectionString:string -> Type
public override function DetermineDatabaseSchemaProvider(
connectionString : String
) : Type
Parameters
- connectionString
Type: System.String
A connection string that is used to connect to the database to query for version information.
Return Value
Type: System.Type
The type of the appropriate SqlDatabaseSchemaProvider.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.