SqlParameter.SqlDbType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the SqlDbType of the parameter.
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
Property Value
One of the SqlDbType values. The default is NVarChar
.
- Attributes
Remarks
The SqlDbType and DbType are linked. Therefore, setting the DbType changes the SqlDbType to a supporting SqlDbType.
For a list of the supported data types, see the appropriate SqlDbType member. For more information, see DataAdapter Parameters.
For information about streaming, see SqlClient Streaming Support.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示