SqlParameter.SqlDbType 属性
定义
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.DataSysDescription("SqlParameter_SqlDbType")]
public System.Data.SqlDbType SqlDbType { get; set; }
[System.Data.Common.DbProviderSpecificTypeProperty(true)]
public System.Data.SqlDbType SqlDbType { get; set; }
member this.SqlDbType : System.Data.SqlDbType with 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
属性值
SqlDbType 值之一。One of the SqlDbType values. 默认值为 NVarChar
。The default is NVarChar
.
- 属性
注解
SqlDbType和 DbType 已链接。The SqlDbType and DbType are linked. 因此,将 DbType 更改设置 SqlDbType 为支持 SqlDbType 。Therefore, setting the DbType changes the SqlDbType to a supporting SqlDbType.
有关支持的数据类型的列表,请参阅相应 SqlDbType 成员。For a list of the supported data types, see the appropriate SqlDbType member. 有关详细信息,请参阅 DataAdapter 参数。For more information, see DataAdapter Parameters.
有关流式处理的信息,请参阅 SqlClient 流支持。For information about streaming, see SqlClient Streaming Support.