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); };
[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

Valore della proprietà

Uno dei SqlDbType valori. Il valore predefinito è NVarChar.

Attributi

Commenti

e SqlDbTypeDbType sono collegati. Pertanto, impostando l'oggetto DbType su SqlDbType un oggetto che supporta 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 sqlClient.

Si applica a

Vedi anche