共用方式為


AdoDotNetParameter.SetTypeCore 方法

使用 Enum.Parse,嘗試剖析字串型別的 DbType 列舉值。 如果失敗,方法會假設 DbType.Object 為無效的 DbType

命名空間:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
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
)

參數

  • value
    類型:String

    參數的資料型別。

.NET Framework 安全性

請參閱

參考

AdoDotNetParameter 類別

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間

GetTypeCore