Partager via


AdoDotNetParameter.SetTypeCore, méthode

Tentatives d'analyser le type chaîne en valeur d'énumération DbType en utilisant Enum.Parse. En cas de échec, la méthode suppose DbType.Object comme DbTypeapproprié.

Espace de noms :  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Protected Overrides Sub SetTypeCore ( _
    value As String _
)
protected override void SetTypeCore(
    string value
)
protected:
virtual void SetTypeCore(
    String^ value
) override
abstract SetTypeCore : 
        value:string -> unit  
override SetTypeCore : 
        value:string -> unit
protected override function SetTypeCore(
    value : String
)

Paramètres

  • value
    Type : String

    Un type de données du paramètre.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetParameter Classe

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms

GetTypeCore