Condividi tramite


Metodo AdoDotNetMappedObjectConverter.GetProviderTypeFromNativeType

Converte il tipo nativo in un tipo specifico di provider.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
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

Parametri

  • nativeType
    Tipo: String

    Stringa contenente il nome del tipo nativo per convertire.

Valore restituito

Tipo: Int32
Il valore del tipo specifico di provider, oppure 0 se non è possibile convertire il tipo.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AdoDotNetMappedObjectConverter Classe

Spazio dei nomi Microsoft.VisualStudio.Data.Framework.AdoDotNet