Partager via


AdoDotNetParameter.SetTypeCore Method

Attempts to parse the string type into a DbType enumeration value by using Enum.Parse. If this fails, the method assumes DbType.Object as the correct DbType.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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
)

Parameters

.NET Framework Security

See Also

Reference

AdoDotNetParameter Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace

GetTypeCore