SqlDecimal.ToSqlByte Method

Definition

Converts this SqlDecimal 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 SqlDecimal structure. If the SqlDecimal structure's Value is true, the SqlByte structure's Value will be 1. Otherwise, the SqlByte structure's Value will be 0.

Applies to

See also