SqlParameter.SqlDbType Propriedade

Definição

Obtém ou define o SqlDbType do parâmetro.

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

Valor de Propriedade

Um dos SqlDbType valores. A predefinição é NVarChar.

Atributos

Observações

Os SqlDbType e DbType estão ligados. Portanto, definindo as DbType alterações para SqlDbType um suporte SqlDbType.

Para uma lista dos tipos de dados suportados, consulte o membro apropriado SqlDbType . Para obter mais informações, consulte Parâmetros do DataAdapter.

Para informações sobre streaming, consulte SqlClient Streaming Support.

Aplica-se a

Ver também