AdoDotNetMappedObjectConverter.GetProviderTypeFromNativeType Method
Converts the native type to the provider's specific type.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function GetProviderTypeFromNativeType ( _
nativeType As String _
) As Integer
protected virtual int GetProviderTypeFromNativeType(
string nativeType
)
protected:
virtual int GetProviderTypeFromNativeType(
String^ nativeType
)
abstract GetProviderTypeFromNativeType :
nativeType:string -> int
override GetProviderTypeFromNativeType :
nativeType:string -> int
protected function GetProviderTypeFromNativeType(
nativeType : String
) : int
Parameters
nativeType
Type: System.StringA string containing the name of the native type to convert.
Return Value
Type: System.Int32
The provider's specific type value, or 0 if the type cannot be converted.
.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.