SqlParameter.SqlDbType Proprietà

Definizione

Ottiene o imposta l'oggetto SqlDbType del parametro.

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

Valore della proprietà

Uno dei valori di SqlDbType. Il valore predefinito è NVarChar.

Attributi

Commenti

L'oggetto SqlDbType e DbType è collegato. Pertanto, impostando l'oggetto DbTypeSqlDbType su un oggetto di supporto SqlDbType.

Per un elenco dei tipi di dati supportati, vedere il membro appropriato SqlDbType . Per altre informazioni, vedere Parametri di DataAdapter.

Per informazioni sullo streaming, vedere Supporto per lo streaming di SqlClient.

Si applica a

Vedi anche