SqlParameter.SqlDbType Propriété

Définition

Obtient ou définit le SqlDbType paramètre.

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

Valeur de propriété

Une des SqlDbType valeurs. La valeur par défaut est NVarChar.

Attributs

Remarques

Le SqlDbType et DbType sont liés. Par conséquent, la définition des DbType modifications apportées SqlDbType à une prise en charge SqlDbType.

Pour obtenir la liste des types de données pris en charge, consultez le membre approprié SqlDbType . Pour plus d’informations, consultez Paramètres du DataAdapter.

Pour plus d’informations sur la diffusion en continu, consultez La prise en charge de la diffusion en continu SqlClient.

S’applique à

Voir aussi