Share via


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.String

    A 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

See Also

Reference

AdoDotNetMappedObjectConverter Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace