OdbcParameter.OdbcType Propiedad

Definición

Obtiene o establece el OdbcType del parámetro.

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

Valor de propiedad

Un valor de OdbcType que representa el OdbcType del parámetro. De manera predeterminada, es Nchar.

Atributos

Comentarios

y OdbcTypeDbType están vinculados. Por lo tanto, al establecer el objeto DbType cambia OdbcType a un elemento auxiliar OdbcType.

Para obtener una lista de los tipos de datos admitidos, consulte el miembro adecuado OdbcType . Para obtener más información, vea Parámetros de DataAdapter.

Se aplica a

Consulte también