ערוך

שתף באמצעות


SqlBoolean.ToSqlInt64 Method

Definition

Converts this SqlBoolean structure to SqlInt64.

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

Returns

A new SqlInt64 structure whose value is 1 or 0. If the SqlBoolean structure's value equals true, the new SqlInt64 structure's value is 1. Otherwise, the new SqlInt64 structure's value is 0.

Applies to

See also