- name
- The connection name for which the dbProviderName belongs.
- dbProviderName
- The connection logical provider name
Visual Basic (Declaration) | |
---|---|
Protected Overridable Function GetDefaultMapping( _ ByVal name As String, _ ByVal dbProviderName As String _ ) As DataAccessMapping |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DataAccessConfigurationView Dim name As String Dim dbProviderName As String Dim value As DataAccessMapping value = instance.GetDefaultMapping(name, dbProviderName) |
C# | |
---|---|
protected virtual DataAccessMapping GetDefaultMapping( string name, string dbProviderName ) |
C++/CLI | |
---|---|
protected: virtual DataAccessMapping^ GetDefaultMapping( String^ name, String^ dbProviderName ) |
Parameters
- name
- The connection name for which the dbProviderName belongs.
- dbProviderName
- The connection logical provider name
Return Value
The DataAccessMapping object that matches the dbProviderName.This method will always return null (Nothing in Visual Basic). Developers should override this method to provide their default DataAccessMapping for the provider.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7