แก้ไข

แชร์ผ่าน


SqlInt32.ToSqlByte Method

Definition

Converts this SqlInt32 structure to SqlByte.

public:
 System::Data::SqlTypes::SqlByte ToSqlByte();
public System.Data.SqlTypes.SqlByte ToSqlByte ();
member this.ToSqlByte : unit -> System.Data.SqlTypes.SqlByte
Public Function ToSqlByte () As SqlByte

Returns

A SqlByte structure whose Value equals the Value of this SqlInt32 structure. If the value of the SqlInt32 is less than 0 or greater than 255, an OverflowException occurs.

Applies to

See also