OdbcParameter.OdbcType 屬性

定義

取得或設定參數的 OdbcType

public:
 property System::Data::Odbc::OdbcType OdbcType { System::Data::Odbc::OdbcType get(); void set(System::Data::Odbc::OdbcType value); };
[System.Data.Common.DbProviderSpecificTypeProperty(true)]
public System.Data.Odbc.OdbcType OdbcType { get; set; }
public System.Data.Odbc.OdbcType OdbcType { get; set; }
[<System.Data.Common.DbProviderSpecificTypeProperty(true)>]
member this.OdbcType : System.Data.Odbc.OdbcType with get, set
member this.OdbcType : System.Data.Odbc.OdbcType with get, set
Public Property OdbcType As OdbcType

屬性值

OdbcType

OdbcType 值,為參數的 OdbcType。 預設為 Nchar

屬性

備註

OdbcType DbType 已連結。 因此,將 變更 DbType OdbcType 為支援的 OdbcType

如需支援的資料類型清單,請參閱適當的 OdbcType 成員。 如需詳細資訊,請參閱 DataAdapter 參數

適用於

另請參閱