SqlParameter.SqlDbType Propiedad

Definición

Obtiene o establece el SqlDbType del parámetro.

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

Valor de propiedad

Uno de los valores de SqlDbType. De manera predeterminada, es NVarChar.

Atributos

Comentarios

DbType y SqlDbType están vinculados. Por lo tanto, si se establece , DbType se cambia a SqlDbType .SqlDbType

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

Para obtener información sobre el streaming, consulte Compatibilidad con el streaming de SqlClient.

Se aplica a

Consulte también