Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified native type to a DbType type that is used by an ADO.NET data provider.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function GetDbTypeFromNativeType ( _
nativeType As String _
) As DbType
protected virtual DbType GetDbTypeFromNativeType(
string nativeType
)
protected:
virtual DbType GetDbTypeFromNativeType(
String^ nativeType
)
abstract GetDbTypeFromNativeType :
nativeType:string -> DbType
override GetDbTypeFromNativeType :
nativeType:string -> DbType
protected function GetDbTypeFromNativeType(
nativeType : String
) : DbType
Parameters
- nativeType
Type: System.String
A string containing the name of the native type to convert.
Return Value
Type: System.Data.DbType
A DbType type, or a DbType.Object if the native type is not found.
.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.